FW: Delivery Report crash Kannel
Dedy Sutanto <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry, wrong analysis. After I try to connect to SMSC with other SMPP-client, I received the delivery-report that crash kannel before. It seem kannel CVS crash, because cannot handle delivery report that send by SMSC -----Original Message----- From: Dedy Sutanto Sent: Thursday, February 28, 2002 2:38 PM To: Kannel Developers (E-mail) Subject: Delivery Report crash Kannel Dear all, I have problem with kannel CVS regarding SMPP. Thsi problem occured when I activate dlrmask in http request http://localhost:xxxx/cgi-bin/sendsms?username=xxxr <http://localhost:xxxx/cgi-bin/sendsms?username=xxxr&password=xxx&to=6281815 5112&mclass=1&text=hallo&dlrmask=1> &password=xxx&to=62818155112&mclass=1&text=hallo&dlrmask=1 The message seem delivered. But after that kannel crashed with error: 2002-02-28 07:08:05 [5] PANIC: gwlib/octstr.c:2053: seems_valid_real: Assertion `ostr != NULL' failed. (Called from gw/smsc_smpp.c:572:handle_pdu.) The strange thing is after that I cannot run kannel, because bearerbox always exit with same error. I think it could be SMSC try to send the delivery report, but kannel cannot handle it. But when I check in SMSC (logica), the delivery-report have sent. SO, how can kannel always crash after that. Regard -dedy- [xxx@xxxx CVS]# tail -f logs/kannel.log 2002-02-28 07:07:49 [6] DEBUG: command_status: 0 = 0x00000000 2002-02-28 07:07:49 [6] DEBUG: sequence_number: 556 = 0x0000022c 2002-02-28 07:07:49 [6] DEBUG: SMPP PDU dump ends. 2002-02-28 07:07:49 [6] DEBUG: SMPP: Got PDU: 2002-02-28 07:07:49 [6] DEBUG: SMPP PDU 0x820d860 dump: 2002-02-28 07:07:49 [6] DEBUG: type_name: enquire_link_resp 2002-02-28 07:07:49 [6] DEBUG: command_id: 2147483669 = 0x80000015 2002-02-28 07:07:49 [6] DEBUG: command_status: 0 = 0x00000000 2002-02-28 07:07:49 [6] DEBUG: sequence_number: 556 = 0x0000022c 2002-02-28 07:07:49 [6] DEBUG: SMPP PDU dump ends. 2002-02-28 07:08:04 [8] DEBUG: boxc_receiver: sms received 2002-02-28 07:08:04 [5] DEBUG: SMPP: Sending PDU: 2002-02-28 07:08:04 [5] DEBUG: SMPP PDU 0x8204270 dump: 2002-02-28 07:08:04 [5] DEBUG: type_name: submit_sm 2002-02-28 07:08:04 [5] DEBUG: command_id: 4 = 0x00000004 2002-02-28 07:08:04 [5] DEBUG: command_status: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: sequence_number: 557 = 0x0000022d 2002-02-28 07:08:04 [5] DEBUG: service_type: NULL 2002-02-28 07:08:04 [5] DEBUG: source_addr_ton: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: source_addr_npi: 1 = 0x00000001 2002-02-28 07:08:04 [5] DEBUG: source_addr: "9876" 2002-02-28 07:08:04 [5] DEBUG: dest_addr_ton: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: dest_addr_npi: 1 = 0x00000001 2002-02-28 07:08:04 [5] DEBUG: destination_addr: "62818155112" 2002-02-28 07:08:04 [5] DEBUG: esm_class: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: protocol_id: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: priority_flag: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: schedule_delivery_time: NULL 2002-02-28 07:08:04 [5] DEBUG: validity_period: NULL 2002-02-28 07:08:04 [5] DEBUG: registered_delivery: 1 = 0x00000001 2002-02-28 07:08:04 [5] DEBUG: replace_if_present_flag: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: data_coding: 16 = 0x00000010 2002-02-28 07:08:04 [5] DEBUG: sm_default_msg_id: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: sm_length: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: short_message: "hallo" 2002-02-28 07:08:04 [5] DEBUG: SMPP PDU dump ends. 2002-02-28 07:08:04 [5] DEBUG: SMPP: Sent PDU: 2002-02-28 07:08:04 [5] DEBUG: SMPP PDU 0x8204270 dump: 2002-02-28 07:08:04 [5] DEBUG: type_name: submit_sm 2002-02-28 07:08:04 [5] DEBUG: command_id: 4 = 0x00000004 2002-02-28 07:08:04 [5] DEBUG: command_status: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: sequence_number: 557 = 0x0000022d 2002-02-28 07:08:04 [5] DEBUG: service_type: NULL 2002-02-28 07:08:04 [5] DEBUG: source_addr_ton: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: source_addr_npi: 1 = 0x00000001 2002-02-28 07:08:04 [5] DEBUG: source_addr: "9876" 2002-02-28 07:08:04 [5] DEBUG: dest_addr_ton: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: dest_addr_npi: 1 = 0x00000001 2002-02-28 07:08:04 [5] DEBUG: destination_addr: "62818155112" 2002-02-28 07:08:04 [5] DEBUG: esm_class: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: protocol_id: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: priority_flag: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: schedule_delivery_time: NULL 2002-02-28 07:08:04 [5] DEBUG: validity_period: NULL 2002-02-28 07:08:04 [5] DEBUG: registered_delivery: 1 = 0x00000001 2002-02-28 07:08:04 [5] DEBUG: replace_if_present_flag: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: data_coding: 16 = 0x00000010 2002-02-28 07:08:04 [5] DEBUG: sm_default_msg_id: 0 = 0x00000000 2002-02-28 07:08:04 [5] DEBUG: sm_length: 5 = 0x00000005 2002-02-28 07:08:04 [5] DEBUG: short_message: "hallo" 2002-02-28 07:08:04 [5] DEBUG: SMPP PDU dump ends. 2002-02-28 07:08:05 [5] DEBUG: SMPP: Got PDU: 2002-02-28 07:08:05 [5] DEBUG: SMPP PDU 0x820d308 dump: 2002-02-28 07:08:05 [5] DEBUG: type_name: submit_sm_resp 2002-02-28 07:08:05 [5] DEBUG: command_id: 2147483652 = 0x80000004 2002-02-28 07:08:05 [5] DEBUG: command_status: 0 = 0x00000000 2002-02-28 07:08:05 [5] DEBUG: sequence_number: 557 = 0x0000022d 2002-02-28 07:08:05 [5] DEBUG: message_id: "0426F39D" 2002-02-28 07:08:05 [5] DEBUG: SMPP PDU dump ends. 2002-02-28 07:08:05 [5] PANIC: gwlib/octstr.c:2053: seems_valid_real: Assertion `ostr != NULL' failed. (Called from gw/smsc_smpp.c:572:handle_pdu.)