Hi, I try to send concatenated SMS, 15000 characters long, 99 SMSs. With smaller messages, I have no problems, but with this, I get UDH corrupted by kannel. In core group access-log everything is OK:
2007-08-08 20:51:18 Receive SMS [SMSC:5] [SVC:] [ACT:] [BINF:] [from:26392390208295477] [to:1827] [flags:-1:0:-1:0:-1] [msg:153:enaidnieki 513) automashinas; 514) kugji 515) traktori 516) zobenzivis 517) buldozeri 518) sanitaari 519) draugi 520) ienaidnieki 521) automashinas; 522)] [udh:6:0500031D6332] So, this udh: 0500031D6332 means: 05 UDH length 00 IEI, concatenated short messages 03 IE Data length 1D reference number (29) 63 number of short messages in the concatenated short message (99) 32 sequence number of the current short message (50) I use PHP scripts to make one message from such messages, but in my PHP application I do not get this UDH, instead I get something like this: 0500031Dc2 In my smsbox access-log I see: 2007-08-08 20:51:18 SMS HTTP-request sender:26392390208295477 request: '' url: 'http://kannel.mpakalpojumi.lv/writesms.php?text=enaidnieki+513)+automashinas%3 B+514)+kugji+515)+traktori+516)+zobenzivis+517)+buldozeri+518)+sanitaari+519)+draugi+520)+ienaidnieki+521)+automashinas%3B+522)&keyword=enaidnieki&keyword2=51 3)&from=26392390208295477&to=1827&smsc=5&time=2007-08-08+17:51:18&drv=-1&coding=0&charset=ISO-8859-1&udh=%05%00%03%1Dc2' reply: 200 '<< successful >>' What is it? %05%00%03%1Dc2 is not HEX anymore. I use Kannel 1.4.1. My kannel SMS service: # SMS SERVICE Default group = sms-service keyword = default accept-x-kannel-headers = true get-url = "http://kannel.mpakalpojumi.lv/writesms.php?text=%a&keyword=%k&keyword2=%s&from=%p&to=%P&smsc=%i&time=%t&drv=%d&coding=%c&charset=%C&udh=%u" max-messages = 0 omit-empty = true How can I stop kannel to make such conversations? Binary SMS text sometimes also is converted to something meaningless. Ivars
