kannel was running on SunOS Release 5.9 Version (Enterprise 450)
the configuration file - ok
I think, problem in the UltraSPARC-II architecture and kannel
But where (in the code), I do not know :((
For example, the difference might be in word representation in memory.
That forced me to change fills the opt_tag in optional parameters
on intel:
tag_opt = SMPP_sar_segment_seqnum;
opt_tag = octstr_create_real("");
octstr_append_data(opt_tag, (char*) &tag_opt+1, 1);
octstr_append_data(opt_tag, (char*) &tag_opt, 1);
opt_val = octstr_create_real("");
octstr_append_data(opt_val, (char*) &(msg->sms.sar_segment_seqnum), 1);
dict_put((&pdu->u.submit_sm)->optional_parameters, opt_tag,
octstr_duplicate(opt_val));
and on UltraSPARC-II:
tag_opt = SMPP_sar_segment_seqnum;
opt_tag = octstr_create_real("");
/* octstr_append_data(opt_tag, (char*) &tag_opt+1, 1); */
octstr_append_data(opt_tag, (char*) &tag_opt, 2);
//-------------------------------------------------------------------------^
opt_val = octstr_create_real("");
octstr_append_data(opt_val, (char*) &(msg->sms.sar_segment_seqnum), 1);
dict_put((&pdu->u.submit_sm)->optional_parameters, opt_tag,
octstr_duplicate(opt_val));
> What machine are you using and what is your configuration file ?
>
> Aarno
>
> On Friday, May 23, 2003, at 03:49 PM, Yury Mikhienko wrote:
>
> > And what I should to do?
> >
> >> Exactly same as mine.
> >>
> >>> my SL.xml:
> >>> <?xml version="1.0"?>
> >>> <!DOCTYPE sl PUBLIC "-//WAPFORUM//DTD SL 1.0//EN"
> >>> "http://www.wapforum.org/DTD/sl.dtd">
> >>> <sl href="http://wap.mobicomk.ru/mobicomk"
> >>> action="execute-high">
> >>> </sl>
> >>>
> >>>> I still cannot reproduce (with MacOS X and PowerPC). What was your
> >>>> sl content ?
> >>>>
> >>>> Aarno
> >>>>
> >>>> On Wednesday, May 21, 2003, at 05:28 PM, Yury Mikhienko wrote:
> >>>>
> >>>>> I use the following call syntax:
> >>>>> ./test_ppg -c sl
> >>>>> "http://10.10.5.11:8080/cgi-bin/wap-
> >>>>> push.cgi?username=ppgu&password=bar" "SL.xml" "PAP.xml"
> >>>>> my PAP.xml:
> >>>>> <?xml version="1.0"?>
> >>>>> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP//EN"
> >>>>> "http://www.wapforum.org/DTD/pap_1.0.dtd">
> >>>>> <pap>
> >>>>> <push-message
> >>>>> push-id="[EMAIL PROTECTED]"
> >>>>> deliver-before-timestamp="2003-05-20T00:00:00Z"
> >>>>> deliver-after-timestamp="2003-05-10T00:00:00Z"
> >>>>> progress-notes-requested="true">
> >>>>>
> >>>>> <address
> >>>>>
> >>>>> address-value="WAPPUSH=+79282010199/[EMAIL PROTECTED]">
> >>>>> </address>
> >>>>>
> >>>>> <quality-of-service
> >>>>> priority="low"
> >>>>> delivery-method="unconfirmed"
> >>>>> network-required="true"
> >>>>> network="GSM"
> >>>>> bearer-required="true"
> >>>>> bearer="SMS"/>
> >>>>>
> >>>>> </push-message>
> >>>>> </pap>
> >>>>>
> >>>>>> What was your command line ?
> >>>>>>
> >>>>>> Aarno
> >>>>>>
> >>>>>> On Wednesday, May 21, 2003, at 03:06 PM, Yury Mikhienko wrote:
> >>>>>>
> >>>>>>> Yes.
> >>>>>>>
> >>>>>>>> How did you send sl. With test_ppg ?
> >>>>>>>>
> >>>>>>>> Aarno
> >>>>>>>>
> >>>>>>>> On Tuesday, May 20, 2003, at 01:22 PM, Yury Mikhienko wrote:
> >>>>>>>>
> >>>>>>>>>
> >>>>>>>>> I have the some problem (if try send the SL message), and get
> >>>>>>>>> the
> >>>>>>>>> following assertion:
> >>>>>>>>> *************************************
> >>>>>>>>> 2003-05-14 11:34:50 [14] PANIC: gwlib/octstr.c:2146:
> >>>>>>>>> seems_valid_real:
> >>>>>>>>> Assertion `ostr->data[ostr->len] == '\0'' failed. (Called from
> >>>>>>>>> gwlib/octstr.c:247:octstr_destroy.)
> >>>>>>>>> ************************************
> >>>>>>>>> I use the latest cvs version of kannel on SunOS.
> >>>>>>>>>
> >>>>>>>>>> Hi, all.
> >>>>>>>>>> I don't know is it problem in PPG or something else but if I
> >>>>>>>>>> try
> >>>>>>>>>> to
> >>>>>>>>>> send
> >>>>>>>>>> push from not allowed ip, I get assertion failed and wapbox
> >>>>>>>>>> restarted.
> >>>>>>>>>>
--
Best regards,
Yury Mikhienko.
IT engineer, ZAO "Mobicom-Kavkaz"