Doesn't UDH specify the number of parts the message has or last message says something like I'm the last?
Maybe that is why message is corrupted. It didn find the end of the message???? |-----------------------------------------------------------------------------------------------------------------| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Tue, Mar 3, 2009 at 9:38 AM, Remon <re...@interact.mobi> wrote: > Yes I already did that and the UDH is correct > Suppose I have a message with 3 parts > Message 1 udh is 05 00 03 A4 03 01 > Message 1 udh is 05 00 03 A4 03 02 > And so on. > > My problem is that I receive the message as one part, but the message text > is corrupted. I think my problem is in text encoding. > Can someone show me pls how encoding is for message should be? > > I have followed tutorial on > http://www.dreamfabric.com/sms/hello.html > and developed some code to follow the steps for any text > But also receives corrupted messages :( > > Regards, > Remon > > > -----Original Message----- > From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf > Of Alvaro Cornejo > Sent: Tuesday, March 03, 2009 3:35 PM > To: Remon > Cc: users@kannel.org > Subject: Re: Sending Long Text Concatenated Message > > Hi > > I'm not sure but I think you need to add in each message part info > about how the message was splited so the receiver would be able to > reasemble the message. I think that info goes in the UDH so in any > case UDH should be different for each message. > > Hope helps > > > |--------------------------------------------------------------------------- > --------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Mon, Mar 2, 2009 at 8:47 AM, Remon <rmas...@gmail.com> wrote: >> Hello All, >> >> I want to be able to send lon text messages from my application. I need to >> split the long message from my code and submit them as one by one message > to >> kannel. >> >> 1- I encode the text in 7-bit binary form. >> 2- I convert the binary to HEX String. >> 3- I add udh=05 00 03 XX 0N 0n. >> >> example i want to send "hellohello" as if it is encoded as long message so > I >> convert hellohello to 7-bit binary and then hex >> result is E8329BFD4697D9EC37 >> >> I send two messages from kannel >> >> > http://localhost:13013/cgi-bin/sendsms?user=XXXX&pass=XXXXX&from=1111&to=111 > 1111&udh=%05%00%03%A4%01%01&text=%E8%32%9B%FD%46%97%D9%EC%37 >> >> but the received message is corrupted :( >> >> Please help. >> >> Regards, >> >> > >