I am using cygwin kannel 1.2.1. In my scenario, SMSC is sending me binary data which is coming correct in kannel.log. I also see that my access.log sets the mclass=4 and coding =2. But in access.log, when it displays the binary message, it does a gsm_to_latin1 conversion and display all junk. If the mclass and coding are set, why shud it do any kind of conversion? Is there any way to avoid this from the source code?
********My kannel.log*********
short_message: Octet string at 0x100c6ff0: len: 70 size: 71 immutable: 0 data: 4d 43 47 53 00 e8 03 00 MCGS.... data: 00 01 00 2f 16 03 00 01 .../.... data: 00 00 16 00 6f 0f c1 00 ....o... data: 00 de 00 00 00 00 00 00 ........ data: 00 00 00 00 00 00 00 00 ........ data: 00 00 00 00 da 4d a3 03 .....M.. data: 67 19 57 03 00 00 00 00 g.W..... data: 00 00 00 00 00 00 34 34 ......44 data: f7 80 7f 80 fb e8 ...... Octet string dump ends. SMPP PDU dump ends.
**********My access.log********
Receive SMS [SMSC:webtracker] [SVC:] [ACT:] [from:380675071535] [to:980] [flags:4:2:0:0:0] [msg:70:4D43475340E8A54040A340363FA540A340403F406FE5C18040DE404040404040404040404040404040404040DA4DA3A5673F57A5404040404040404040403922F740E080FBE2] [udh:0:]
Can anyone pls help me to get binary data as the smpp pdu dumps it? What variable should i use in my get-url such that i get binary data? I tried with '%b' but i still get some converted values. Could this be encoded value?
Pls help. Chirag ___________________________________________________ Click below to experience Sooraj R Barjatya's latest offering 'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek & Kareena http://www.mpkdh.com
