SMPP PANIC
"Himalay Gopu" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Iam tring to connect to a SMSC using SMPP and i get this panic and kannel crashes gw/smsc/smpp_pdu.def:164: smpp_pdu_unpack: Assertion `p-> sm_length == (unsigned long) octstr_len(p->short_message)' failed. I get this error in the connection negotiation ( kannel send the SMPP PDU with login details receives the SMPP pdu and I think its unable to parse the pdu ) Can somebody guide to the cause of the Error? Regards Himalay Attached is the Bearer log
bearer.log
(application/octet-stream, 3.6 KB)
2003-04-23 16:26:16 [0] DEBUG: HTTP: Opening server at port 13025. 2003-04-23 16:26:16 [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2003-04-23 16:26:16 [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2003-04-23 16:26:16 [0] DEBUG: Started thread 3 (gw/bb_http.c:httpadmin_run) 2003-04-23 16:26:16 [0] DEBUG: starting smsbox connection module 2003-04-23 16:26:16 [0] DEBUG: Started thread 4 (gw/bb_boxc.c:smsboxc_run) 2003-04-23 16:26:16 [0] DEBUG: Started thread 5 (gw/smsc/smsc_smpp.c:io_thread) 2003-04-23 16:26:16 [0] DEBUG: Started thread 6 (gw/smsc/smsc_smpp.c:io_thread) 2003-04-23 16:26:16 [0] DEBUG: Started thread 7 (gw/bb_smscconn.c:sms_router) 2003-04-23 16:26:16 [0] INFO: ---------------------------------------- 2003-04-23 16:26:16 [0] INFO: Kannel bearerbox II version 1.2.1 starting 2003-04-23 16:26:16 [0] INFO: MAIN: Start-up done, entering mainloop 2003-04-23 16:26:16 [7] DEBUG: sms_router: time to sleep 2003-04-23 16:26:16 [7] DEBUG: sms_router: list_len = 0 2003-04-23 16:26:17 [6] DEBUG: SMPP[Pervasiveone]: Sending PDU: 2003-04-23 16:26:17 [6] DEBUG: SMPP PDU 0x80d8a10 dump: 2003-04-23 16:26:17 [6] DEBUG: type_name: bind_receiver 2003-04-23 16:26:17 [6] DEBUG: command_id: 1 = 0x00000001 2003-04-23 16:26:17 [6] DEBUG: command_status: 0 = 0x00000000 2003-04-23 16:26:17 [6] DEBUG: sequence_number: 0 = 0x00000000 2003-04-23 16:26:17 [6] DEBUG: system_id: "########" 2003-04-23 16:26:17 [6] DEBUG: password: "#######" 2003-04-23 16:26:17 [6] DEBUG: system_type: "SMPP" 2003-04-23 16:26:17 [6] DEBUG: interface_version: 52 = 0x00000034 2003-04-23 16:26:17 [6] DEBUG: addr_ton: 0 = 0x00000000 2003-04-23 16:26:17 [6] DEBUG: addr_npi: 0 = 0x00000000 2003-04-23 16:26:17 [6] DEBUG: address_range: NULL 2003-04-23 16:26:17 [6] DEBUG: SMPP PDU dump ends. 2003-04-23 16:26:17 [5] DEBUG: SMPP[Pervasiveone]: Sending PDU: 2003-04-23 16:26:17 [5] DEBUG: SMPP PDU 0x80d8b18 dump: 2003-04-23 16:26:17 [5] DEBUG: type_name: bind_transmitter 2003-04-23 16:26:17 [5] DEBUG: command_id: 2 = 0x00000002 2003-04-23 16:26:17 [5] DEBUG: command_status: 0 = 0x00000000 2003-04-23 16:26:17 [5] DEBUG: sequence_number: 1 = 0x00000001 2003-04-23 16:26:17 [5] DEBUG: system_id: "######" 2003-04-23 16:26:17 [5] DEBUG: password: "#####" 2003-04-23 16:26:17 [5] DEBUG: system_type: "SMPP" 2003-04-23 16:26:17 [5] DEBUG: interface_version: 52 = 0x00000034 2003-04-23 16:26:17 [5] DEBUG: addr_ton: 0 = 0x00000000 2003-04-23 16:26:17 [5] DEBUG: addr_npi: 0 = 0x00000000 2003-04-23 16:26:17 [5] DEBUG: address_range: NULL 2003-04-23 16:26:17 [5] DEBUG: SMPP PDU dump ends. 2003-04-23 16:26:18 [6] DEBUG: SMPP[Pervasiveone]: Got PDU: 2003-04-23 16:26:18 [6] DEBUG: SMPP PDU 0x80d8b68 dump: 2003-04-23 16:26:18 [6] DEBUG: type_name: bind_receiver_resp 2003-04-23 16:26:18 [6] DEBUG: command_id: 2147483649 = 0x80000001 2003-04-23 16:26:18 [6] DEBUG: command_status: 0 = 0x00000000 2003-04-23 16:26:18 [6] DEBUG: sequence_number: 0 = 0x00000000 2003-04-23 16:26:18 [6] DEBUG: SMPP PDU dump ends. 2003-04-23 16:26:18 [5] DEBUG: SMPP[Pervasiveone]: Got PDU: 2003-04-23 16:26:18 [5] DEBUG: SMPP PDU 0x80d8b88 dump: 2003-04-23 16:26:18 [5] DEBUG: type_name: bind_transmitter_resp 2003-04-23 16:26:18 [5] DEBUG: command_id: 2147483650 = 0x80000002 2003-04-23 16:26:18 [5] DEBUG: command_status: 0 = 0x00000000 2003-04-23 16:26:18 [5] DEBUG: sequence_number: 1 = 0x00000001 2003-04-23 16:26:18 [5] DEBUG: SMPP PDU dump ends. 2003-04-23 16:26:31 [6] PANIC: gw/smsc/smpp_pdu.def:164: smpp_pdu_unpack: Assert ion `p-> sm_length == (unsigned long) octstr_len(p->short_message)' failed.