Hi,

The version of Kannel is 1.3.1. 

I send sms to mobile using get request in url:
http://63.97.230.28:13013/cgi-bin/sendsms?smsc=nfwave&user=user&pass=pas
s&udh=%06%05%04%13%89%00%00&coding=1&to=14168794990&text=Hello

I would like to send Text message because of that the coding is 1.

Outgoing message from Kannel's log file is:
0051000B814161784999F00000A70D06050413890000C8329BFD06
 
You see the user data is C8329BFD06, it is Hello in 7bit coding.
06050413890000 is my UDH. The 0D I believe is  user data length. I
wonder how it was calculated, I mean the length. For my opinion could be
5 for user data "Hello" or 5+14 with UDH.

The message which I got from phone using HyperTerminal and AT+CMGL
command
is:07915141991321F3440B914161280319F400005010409075420A0C060504138900006
536FB0D

You see that the user data is "ello" in 7bit coding and the user data
length less then I sent on one byte.

If you need more debug information, I would be happy to provide it for
you.

Thanks so much in advance for help.




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

Find it. Fix it. Enhance it.
 
 
 

-----Original Message-----
From: Dziugas Baltrunas [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 03, 2005 4:13 PM
To: Olga Rudchenko
Cc: [email protected]
Subject: Re: First symbol was cut in text message with udh specefied on
some port.

Hi,

first of all, please specify what version of Kannel you are using (there
were important changes about coding parameter) and provide some more
debug info.

Here is a snip from userguide near SMS Push (send-sms) CGI Variables:

<<snip>>
coding number Optional. Sets the coding scheme bits in DCS field.
Accepts values 0 to 2, for 7bit, 8bit or UCS2. If unset, defaults to 7
bits unless a udh is defined, which sets coding to 8bits.
<<snip>>

It means that if udh is defined, phone will still recognize it as a
binary (8 bit) message.

On Mon, 3 Jan 2005 12:23:55 -0800, Olga Rudchenko
<[EMAIL PROTECTED]> wrote:
> 
> 
> 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
> =password&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
> 
> Find it. Fix it. Enhance it.
>  


--
Dziugas

Reply via email to