Well, looks a lot like a bug. Maybe the string is treated as a null terminated C string instead of an Octstr somewhere on sqlbox code. That would explain that behaviour, but more testings are needed to confirm that.
Furthermore, the sqlbox patch is quite outdated and deprecated, you should try running the sqlbox-standalone package along with latest stable kannel (the cvs branch is quite stable as well). sqlbox-standalone works independently from kannel, so no patching is necessary on kannel's tree. Maybe the problem was fixed on newer releases, try updating and if the problem persists then let us know. Regards, Alejandro On Thu, May 29, 2008 at 2:15 AM, Tushar <[EMAIL PROTECTED]> wrote: > I have already done that …. After putting 1581 instead of 0000 I got the > UDH right but the message data part was still trimmed after "00" as I have > shown below. > > I need to send the full message. Please help me with this/ > > > > > > Thanks and regards, > > > > Tushar Chauhan > > > ------------------------------ > > *From:* Alejandro Guerrieri [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, May 28, 2008 8:46 PM > *To:* [email protected] > > *Subject:* Re: problem with sqlbox > > > > Try putting 1581, instead of 0000, should work... > > Regards, > > Alejandro > > On Wed, May 28, 2008 at 11:34 AM, Tushar <[EMAIL PROTECTED]> wrote: > > > > > > No my sms is not exceeding 160 chars. The size of the message pasted below > is also 91. so I don't think there is any problem with the size of the > message. > > Moreover the *same message is getting delivered* when I send it thru' the > *http* url of kannel. > > > > > > Tushar Chauhan > > > ------------------------------ > > *From:* Kashif Ali Bukhari [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, May 28, 2008 6:41 PM > *To:* Tushar > *Cc:* [email protected] > *Subject:* Re: problem with sqlbox > > > > may be you sms is exceeding 160 characters and telco doesn't support > concatenation . > > Tushar wrote: > > Hello all, > > > > I am running kannel version 1.4.1 with sqlbox patch and TLV > patch. I am having following problem with sqlbox : > > > > > > Whenever I am trying to submit monotone or any other binary message with > UDH, e.g, let us consider a monotone with > > > > UDH = *0605041581*0000 > > And > > DATA= *024A3A515195C99404* > 00791CC512495412424E314492550490938C512495412424E314488498498518520552560520498498498518520552560520498939039038C512612814494812824E20E4144985205D855A51A55849854A00 > > > > Now whenever I am trying to send this message through sqlbox. I am getting > nothing on my phone when I checked the logs I found out that > > Sqlbox sent the message with following details: > > > > UDH= 0605041581 > > And > > DATA = 024A3A515195C99404 > > > > I don't know what's happening but I think sqlbox is removing everything > after it gets "00" in UDH or data part. > > If somebody got the same problem, Please help me to fix this. > > > > > > > > Thanks and regards, > > > > Tushar Chauhan > > > > >
