First symbol was cut in text message with udh specefied on some port.
"Olga Rudchenko" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
I am wondering about a problem I get when sending an SMS message. I get
it when I try to send the SMS through Kannel gateway to mobile. I
specified the UDH in header because I need to send the sms to Java
application on this phone. I use coding=1 to specify the Text message
because I believe the binary message is not reliable if I send sms from
one carrier to another.
The problem is that I get the message on mobile InBox starting from the
second character. In other words, the first letter was cut. The symbol
that is being cut is actually a part of the user data. So if I send
"Hello", I'd get "ello".
I use url like this to send my message:
http://67.94.250.228:13013/cgi-bin/sendsms?smsc=tffwave&user=user&pass=p
assword&udh=%06%05%04%13%89%00%00&coding=1&to=14168794990&text=Hello
You see, I specified the port number in UDH %06%05%04%13%89%00%00,
coding = 1 which means Text message, and text = Hello. I noticed if I
send the message without UDH there is no problem - the entire message is
being received. Could this be some influence of using UDH? I analyzed
the log file for Kannel, the length of user data in case if I use UDH
does not fit the real data and does not fit user data length + UDH
length. I know that coding for user data is hexadecimal 7bit
representation coding for UDH.
0051000B814161784999F00000A7 0D 06050413890000 C8329BFD06
The 0D is length = 13 in decimal; 06050413890000 is my UDH, C8329BFD06
is Hello in 7bit coding. I expect to see length = 5 for Hello or at
least 5+14...
I would really appreciate if anybody can give me any hint or a piece of
advice.
Thanks so much in advance.
Olga Rudchenko
Developer
Bitfone Corporation (formerly MDI)
Office: +1.905.326.9110 x 287
Mobile: +1.416.909.6542
Email: [email protected]
URL: www.bitfone.com <http://www.bitfone.com/>
Find it. Fix it. Enhance it.