Hi All,

I am using kannel sms gateway 1.4.3 .
When sending unicode long message using smsbox url in kannel bearerbox log
it showing each part sm_length = 140. i,e kannel spliting unicode long
message in 140 characters instead of 70.

I have tried with 1.5.0 also but result is same.

kannel url with  coding=2 -

http://xxx.xxx.xx.x:8080/sendsms?username=tester&password=foobar&from=%2B17542059075&dlr-mask=23&text=%E0%A4%AE%E0%A4%B9%E0%A4%BE%E0%A4%B0%E0%A4%BE%E0%A4%B7%E0%A5%8D%E0%A4%9F%E0%A5%8D%E0%A4%B0%20%E0%A4%95%E0%A5%87%20%E0%A4%B0%E0%A4%BE%E0%A4%9C%E0%A4%B8%E0%A5%8D%E0%A4%B5%20%E0%A4%AE%E0%A4%82%E0%A4%A4%E0%A5%8D%E0%A4%B0%E0%A5%80%E0%A4%AE%E0%A4%B9%E0%A4%BE%E0%A4%B0%E0%A4%BE%E0%A4%B7%E0%A5%8D%E0%A4%9F%E0%A5%8D%E0%A4%B0%20%E0%A4%95%E0%A5%87%20%E0%A4%B0%E0%A4%BE%E0%A4%9C%E0%A4%B8%E0%A5%8D%E0%A4%B5%20%E0%A4%AE%E0%A4%82%E0%A4%A4%E0%A5%8D%E0%A4%B0%E0%A5%80%E0%A4%AE%E0%A4%B9%E0%A4%BE%E0%A4%B0%E0%A4%BE%E0%A4%B7%E0%A5%8D%E0%A4%9F%E0%A5%8D%E0%A4%B0%20%E0%A4%95%E0%A5%87%20%E0%A4%B0%E0%A4%BE%E0%A4%9C%E0%A4%B8%E0%A5%8D%E0%A4%B5%20%E0%A4%AE%E0%A4%82%E0%A4%A4%E0%A5%8D%E0%A4%B0%E0%A5%80&smsc=access2&coding=2&to=91xxxxxxxxxx&dlr-url=http://requestb.in/1h5qnmi1&password=callsiprtc9

kannel bearerbox log -

2015-09-08 08:09:06 [19419] [8] DEBUG: boxc_receiver: sms received
2015-09-08 08:09:06 [19419] [8] DEBUG: new split_parts created 0x2550990
2015-09-08 08:09:06 [19419] [8] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP[access2]: Sending PDU:
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP PDU 0x25449b0 dump:
2015-09-08 08:09:06 [19419] [6] DEBUG:   type_name: submit_sm
2015-09-08 08:09:06 [19419] [6] DEBUG:   command_id: 4 = 0x00000004
2015-09-08 08:09:06 [19419] [6] DEBUG:   command_status: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   sequence_number: 2 = 0x00000002
2015-09-08 08:09:06 [19419] [6] DEBUG:   service_type: NULL
2015-09-08 08:09:06 [19419] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   source_addr: "17542059075"
2015-09-08 08:09:06 [19419] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2015-09-08 08:09:06 [19419] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   destination_addr: "91xxxxx74740"
2015-09-08 08:09:06 [19419] [6] DEBUG:   esm_class: 67 = 0x00000043
2015-09-08 08:09:06 [19419] [6] DEBUG:   protocol_id: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   priority_flag: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   schedule_delivery_time: NULL
2015-09-08 08:09:06 [19419] [6] DEBUG:   validity_period: NULL
2015-09-08 08:09:06 [19419] [6] DEBUG:   registered_delivery: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   data_coding: 8 = 0x00000008
2015-09-08 08:09:06 [19419] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   sm_length: 140 = 0x0000008c
2015-09-08 08:09:06 [19419] [6] DEBUG:   short_message:
2015-09-08 08:09:06 [19419] [6] DEBUG:    Octet string at 0x254f950:
2015-09-08 08:09:06 [19419] [6] DEBUG:      len:  140
2015-09-08 08:09:06 [19419] [6] DEBUG:      size: 1024
2015-09-08 08:09:06 [19419] [6] DEBUG:      immutable: 0
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: 05 00 03 00 02 01 e0 a4
ae e0 a4 b9 e0 a4 be e0   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: a4 b0 e0 a4 be e0 a4 b7
e0 a5 8d e0 a4 9f e0 a5   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: 8d e0 a4 b0 20 e0 a4 95
e0 a5 87 20 e0 a4 b0 e0   .... ...... ....
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: a4 be e0 a4 9c e0 a4 b8
e0 a5 8d e0 a4 b5 20 e0   .............. .
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: a4 ae e0 a4 82 e0 a4 a4
e0 a5 8d e0 a4 b0 e0 a5   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: 80 e0 a4 ae e0 a4 b9 e0
a4 be e0 a4 b0 e0 a4 be   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: e0 a4 b7 e0 a5 8d e0 a4
9f e0 a5 8d e0 a4 b0 20   ...............
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: e0 a4 95 e0 a5 87 20 e0
a4 b0 e0 a4 be e0 a4 9c   ...... .........
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: e0 a4 b8 e0 a5 8d e0 a4
b5 20 e0 a4               ......... ..
2015-09-08 08:09:06 [19419] [6] DEBUG:    Octet string dump ends.
2015-09-08 08:09:06 [19419] [6] DEBUG:   more_messages_to_send: 1 =
0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP PDU dump ends.
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP[access2]: Sending PDU:
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP PDU 0x25449b0 dump:
2015-09-08 08:09:06 [19419] [6] DEBUG:   type_name: submit_sm
2015-09-08 08:09:06 [19419] [6] DEBUG:   command_id: 4 = 0x00000004
2015-09-08 08:09:06 [19419] [6] DEBUG:   command_status: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   sequence_number: 3 = 0x00000003
2015-09-08 08:09:06 [19419] [6] DEBUG:   service_type: NULL
2015-09-08 08:09:06 [19419] [6] DEBUG:   source_addr_ton: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   source_addr_npi: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   source_addr: "17542059075"
2015-09-08 08:09:06 [19419] [6] DEBUG:   dest_addr_ton: 2 = 0x00000002
2015-09-08 08:09:06 [19419] [6] DEBUG:   dest_addr_npi: 1 = 0x00000001
2015-09-08 08:09:06 [19419] [6] DEBUG:   destination_addr: "91xxxxx74740"
2015-09-08 08:09:06 [19419] [6] DEBUG:   esm_class: 67 = 0x00000043
2015-09-08 08:09:06 [19419] [6] DEBUG:   protocol_id: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   priority_flag: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   schedule_delivery_time: NULL
2015-09-08 08:09:06 [19419] [6] DEBUG:   validity_period: NULL
2015-09-08 08:09:06 [19419] [6] DEBUG:   registered_delivery: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   replace_if_present_flag: 0 =
0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   data_coding: 8 = 0x00000008
2015-09-08 08:09:06 [19419] [6] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   sm_length: 97 = 0x00000061
2015-09-08 08:09:06 [19419] [6] DEBUG:   short_message:
2015-09-08 08:09:06 [19419] [6] DEBUG:    Octet string at 0x254fd80:
2015-09-08 08:09:06 [19419] [6] DEBUG:      len:  97
2015-09-08 08:09:06 [19419] [6] DEBUG:      size: 1024
2015-09-08 08:09:06 [19419] [6] DEBUG:      immutable: 0
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: 05 00 03 00 02 02 ae e0
a4 82 e0 a4 a4 e0 a5 8d   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: e0 a4 b0 e0 a5 80 e0 a4
ae e0 a4 b9 e0 a4 be e0   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: a4 b0 e0 a4 be e0 a4 b7
e0 a5 8d e0 a4 9f e0 a5   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: 8d e0 a4 b0 20 e0 a4 95
e0 a5 87 20 e0 a4 b0 e0   .... ...... ....
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: a4 be e0 a4 9c e0 a4 b8
e0 a5 8d e0 a4 b5 20 e0   .............. .
2015-09-08 08:09:06 [19419] [6] DEBUG:      data: a4 ae e0 a4 82 e0 a4 a4
e0 a5 8d e0 a4 b0 e0 a5   ................
2015-09-08 08:09:06 [19419] [6] DEBUG:      data:
80                                                .
2015-09-08 08:09:06 [19419] [6] DEBUG:    Octet string dump ends.
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP PDU dump ends.
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP[access2]: Got PDU:
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP PDU 0x25449b0 dump:
2015-09-08 08:09:06 [19419] [6] DEBUG:   type_name: submit_sm_resp
2015-09-08 08:09:06 [19419] [6] DEBUG:   command_id: 2147483652 = 0x80000004
2015-09-08 08:09:06 [19419] [6] DEBUG:   command_status: 0 = 0x00000000
2015-09-08 08:09:06 [19419] [6] DEBUG:   sequence_number: 2 = 0x00000002
2015-09-08 08:09:06 [19419] [6] DEBUG:   message_id: "39"
2015-09-08 08:09:06 [19419] [6] DEBUG: SMPP PDU dump ends.
2015-09-08 08:09:06 [19419] [6] DEBUG: DLR[internal]: Adding DLR
smsc=access2, ts=39, src=+17542059075, dst=919911274740, mask=23, boxc=

Waiting for response.

Regards,
Manas

Reply via email to