sorry. no sample for concatenated sms. I wrote one program to deliver multi-part sms for SMPP but seems to have lost somewhere.
but if you are sending concanated sms using kannel, kannel will handle that for you. otherwise you are on your own. Handle that programmatically. Navjot Singh >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 12, 2004 11:51 AM >To: Navjot Singh >Subject: RE: UDH for long sms > > >Hi, > > Thanks...Do you have any sample? > >Tnx, >mikez > >Navjot Singh <[EMAIL PROTECTED]> said: > >> In general, UDH is like this. >> >> 1 byte - udh length ( 0b i.e 11 bytes that follow) >> 2 byte - info element id ( 05 - port addressing scheme i.e. 16 bit port) >> 3 byte - ifo element len ( 04 ) >> 4 byte - higher order byte of destination port >> 5 byte - lower order byte of destination port >> 6 byte - higher order byte of source port (usually set to 00) >> 7 byte - lower order byte of source port (usually set to 00) >> >> 8 byte - info element id ( guess 00 is for concatenated sms) >> 9 byte - info element len ( 3 in our case as we have 10,11,12) >> 10 byte - info element reference number (ref number for for long sms) >> 11 byte - info element data (total/max number of sms parts) >> 12 byte - info element data (current part of total sms parts) >> >> Say you have 300 bytes of (8 bit) data to send. >> Say byte 11 is set to 3 then 12th byte can take values 1,2,3. >and you MUST >> keep SAME value in 10th byte for all 3 parts. >> >> Additionally, >> >> You need 12(UDH) + 1-128(Data) as you an 140 bytes in one request. >> You need 12(UDH) + 129-256(Data) in second request. >> You need 12(UDH) + 257-300(Data) in third request. >> >> To send concatenated SMS, i think you don't need bytes from 2 to >7. So, the >> equations change accordingly. >> >> Hope this helps. Geeks can correct me if i am wrong somewhere. Am still a >> novice. >> >> Navjot Singh >> >> >-----Original Message----- >> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> >Sent: Thursday, February 12, 2004 7:27 AM >> >To: Gideon N. Guillen; [EMAIL PROTECTED] >> >Cc: [EMAIL PROTECTED] >> >Subject: UDH for long sms >> > >> > >> >Hi, >> > >> > Do you know the udh header for long messages or if the sms >is over 160 >> >chars. The telco ask me insert it so that concatenation of the >sms will be >> >done by their smsc. Is it possible with kannel? >> > >> >Thanks, >> >mikez >> > >> >> >> > > > >-- > > > >
