Hi Kannel Users, Based on the logs below it seems like Kannel is exceeding 160 characters when sending concatenated long SMS which in result rejected by the operator, is this a bug? Please advise how to fix this.
Using Kannel bearerbox version `svn-r5201M' 356089:2020-10-14 01:24:29 [13820] [27] DEBUG: SMPP PDU 0x7fea5002a680 dump: 356090:2020-10-14 01:24:29 [13820] [27] DEBUG: type_name: submit_sm 356091:2020-10-14 01:24:29 [13820] [27] DEBUG: command_id: 4 = 0x00000004 356092:2020-10-14 01:24:29 [13820] [27] DEBUG: command_status: 0 = 0x00000000 356093:2020-10-14 01:24:29 [13820] [27] DEBUG: sequence_number: 19309 = 0x00004b6d 356094:2020-10-14 01:24:29 [13820] [27] DEBUG: service_type: NULL 356095:2020-10-14 01:24:29 [13820] [27] DEBUG: source_addr_ton: 0 = 0x00000000 356096:2020-10-14 01:24:29 [13820] [27] DEBUG: source_addr_npi: 1 = 0x00000001 356097:2020-10-14 01:24:29 [13820] [27] DEBUG: source_addr: "" 356098:2020-10-14 01:24:29 [13820] [27] DEBUG: dest_addr_ton: 1 = 0x00000001 356099:2020-10-14 01:24:29 [13820] [27] DEBUG: dest_addr_npi: 1 = 0x00000001 356100:2020-10-14 01:24:29 [13820] [27] DEBUG: destination_addr: "" 356101:2020-10-14 01:24:29 [13820] [27] DEBUG: esm_class: 64 = 0x00000040 356102:2020-10-14 01:24:29 [13820] [27] DEBUG: protocol_id: 0 = 0x00000000 356103:2020-10-14 01:24:29 [13820] [27] DEBUG: priority_flag: 0 = 0x00000000 356104:2020-10-14 01:24:29 [13820] [27] DEBUG: schedule_delivery_time: NULL 356105:2020-10-14 01:24:29 [13820] [27] DEBUG: validity_period: NULL 356106:2020-10-14 01:24:29 [13820] [27] DEBUG: registered_delivery: 1 = 0x00000001 356107:2020-10-14 01:24:29 [13820] [27] DEBUG: replace_if_present_flag: 0 = 0x00000000 356108:2020-10-14 01:24:29 [13820] [27] DEBUG: data_coding: 0 = 0x00000000 356109:2020-10-14 01:24:29 [13820] [27] DEBUG: sm_default_msg_id: 0 = 0x00000000 356110:2020-10-14 01:24:29 [13820] [27] DEBUG: sm_length: 161 = 0x000000a1 356111:2020-10-14 01:24:29 [13820] [27] DEBUG: short_message: 356112:2020-10-14 01:24:29 [13820] [27] DEBUG: Octet string at 0x7fea5000e7d0: 356113:2020-10-14 01:24:29 [13820] [27] DEBUG: len: 161 356114:2020-10-14 01:24:29 [13820] [27] DEBUG: size: 1024 356115:2020-10-14 01:24:29 [13820] [27] DEBUG: immutable: 0 356116:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 05 00 03 7d 02 01 52 4d 30 20 66 69 71 73 2a 2a 356117:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 2a 2a 2a c2 a1 2a 2a 2a 69 6c 2e 63 6f 6d 20 68 356118:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 61 73 20 62 65 65 6e 20 73 65 74 20 61 73 20 74 356119:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 68 65 20 73 65 63 75 72 69 74 79 20 65 6d 61 69 356120:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 6c 20 61 64 64 72 65 73 73 20 66 6f 72 20 79 6f 356121:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 75 72 20 48 55 41 57 45 49 20 49 44 20 66 69 6b 356122:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 72 75 6c 6c 61 68 2a 2a 2a 2a 2a 2a 2a 2a 2a 2a 356123:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 2a 2a 2a c2 a1 2a 2a 2a 69 6c 2e 63 6f 6d 2e 20 356124:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 49 66 20 74 68 69 73 20 77 61 73 6e 27 74 20 79 356125:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 6f 75 2c 20 70 6c 65 61 73 65 20 72 65 73 65 74 356126:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 20 356127:2020-10-14 01:24:29 [13820] [27] DEBUG: Octet string dump ends. 356128:2020-10-14 01:24:29 [13820] [27] DEBUG: SMPP PDU dump ends. 356133:2020-10-14 01:24:29 [13820] [27] DEBUG: SMPP PDU 0x7fea5002a680 dump: 356134:2020-10-14 01:24:29 [13820] [27] DEBUG: type_name: submit_sm 356135:2020-10-14 01:24:29 [13820] [27] DEBUG: command_id: 4 = 0x00000004 356136:2020-10-14 01:24:29 [13820] [27] DEBUG: command_status: 0 = 0x00000000 356137:2020-10-14 01:24:29 [13820] [27] DEBUG: sequence_number: 19310 = 0x00004b6e 356138:2020-10-14 01:24:29 [13820] [27] DEBUG: service_type: NULL 356139:2020-10-14 01:24:29 [13820] [27] DEBUG: source_addr_ton: 0 = 0x00000000 356140:2020-10-14 01:24:29 [13820] [27] DEBUG: source_addr_npi: 1 = 0x00000001 356141:2020-10-14 01:24:29 [13820] [27] DEBUG: source_addr: "" 356142:2020-10-14 01:24:29 [13820] [27] DEBUG: dest_addr_ton: 1 = 0x00000001 356143:2020-10-14 01:24:29 [13820] [27] DEBUG: dest_addr_npi: 1 = 0x00000001 356144:2020-10-14 01:24:29 [13820] [27] DEBUG: destination_addr: "" 356145:2020-10-14 01:24:29 [13820] [27] DEBUG: esm_class: 64 = 0x00000040 356146:2020-10-14 01:24:29 [13820] [27] DEBUG: protocol_id: 0 = 0x00000000 356147:2020-10-14 01:24:29 [13820] [27] DEBUG: priority_flag: 0 = 0x00000000 356148:2020-10-14 01:24:29 [13820] [27] DEBUG: schedule_delivery_time: NULL 356149:2020-10-14 01:24:29 [13820] [27] DEBUG: validity_period: NULL 356150:2020-10-14 01:24:29 [13820] [27] DEBUG: registered_delivery: 0 = 0x00000000 356151:2020-10-14 01:24:29 [13820] [27] DEBUG: replace_if_present_flag: 0 = 0x00000000 356152:2020-10-14 01:24:29 [13820] [27] DEBUG: data_coding: 0 = 0x00000000 356153:2020-10-14 01:24:29 [13820] [27] DEBUG: sm_default_msg_id: 0 = 0x00000000 356154:2020-10-14 01:24:29 [13820] [27] DEBUG: sm_length: 78 = 0x0000004e 356155:2020-10-14 01:24:29 [13820] [27] DEBUG: short_message: 356156:2020-10-14 01:24:29 [13820] [27] DEBUG: Octet string at 0x7fea50020130: 356157:2020-10-14 01:24:29 [13820] [27] DEBUG: len: 78 356158:2020-10-14 01:24:29 [13820] [27] DEBUG: size: 1024 356159:2020-10-14 01:24:29 [13820] [27] DEBUG: immutable: 0 356160:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 05 00 03 7d 02 02 79 6f 75 72 20 61 63 63 6f 75 356161:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 6e 74 20 70 61 73 73 77 6f 72 64 20 61 6e 64 20 356162:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 72 65 6d 6f 76 65 20 74 68 65 20 73 65 63 75 72 356163:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 69 74 79 20 65 6d 61 69 6c 20 61 64 64 72 65 73 356164:2020-10-14 01:24:29 [13820] [27] DEBUG: data: 73 20 69 6d 6d 65 64 69 61 74 65 6c 79 2e 356165:2020-10-14 01:24:29 [13820] [27] DEBUG: Octet string dump ends. 356166:2020-10-14 01:24:29 [13820] [27] DEBUG: SMPP PDU dump ends. Thank you and Regards, Arif Noor