RE: How to construct Flash SMS
Dedy Sutanto <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Here the result of SMPP dump 2002-02-05 08:07:00 [8] DEBUG: boxc_receiver: sms received 2002-02-05 08:07:00 [5] DEBUG: SMPP: Sending PDU: 2002-02-05 08:07:00 [5] DEBUG: SMPP PDU 0x8222da8 dump: 2002-02-05 08:07:00 [5] DEBUG: type_name: submit_sm 2002-02-05 08:07:00 [5] DEBUG: command_id: 4 = 0x00000004 2002-02-05 08:07:00 [5] DEBUG: command_status: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: sequence_number: 20 = 0x00000014 2002-02-05 08:07:00 [5] DEBUG: service_type: NULL 2002-02-05 08:07:00 [5] DEBUG: source_addr_ton: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: source_addr_npi: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: source_addr: "9878" 2002-02-05 08:07:00 [5] DEBUG: dest_addr_ton: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: dest_addr_npi: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: destination_addr: "62818155112" 2002-02-05 08:07:00 [5] DEBUG: esm_class: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: protocol_id: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: priority_flag: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: schedule_delivery_time: NULL 2002-02-05 08:07:00 [5] DEBUG: validity_period: NULL 2002-02-05 08:07:00 [5] DEBUG: registered_delivery: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: replace_if_present_flag: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: data_coding: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: sm_default_msg_id: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: sm_length: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: short_message: "Testing" 2002-02-05 08:07:00 [5] DEBUG: SMPP PDU dump ends. 2002-02-05 08:07:00 [5] DEBUG: SMPP: Sent PDU: 2002-02-05 08:07:00 [5] DEBUG: SMPP PDU 0x8222da8 dump: 2002-02-05 08:07:00 [5] DEBUG: type_name: submit_sm 2002-02-05 08:07:00 [5] DEBUG: command_id: 4 = 0x00000004 2002-02-05 08:07:00 [5] DEBUG: command_status: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: sequence_number: 20 = 0x00000014 2002-02-05 08:07:00 [5] DEBUG: service_type: NULL 2002-02-05 08:07:00 [5] DEBUG: source_addr_ton: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: source_addr_npi: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: source_addr: "9878" 2002-02-05 08:07:00 [5] DEBUG: dest_addr_ton: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: dest_addr_npi: 1 = 0x00000001 2002-02-05 08:07:00 [5] DEBUG: destination_addr: "62818155112" 2002-02-05 08:07:00 [5] DEBUG: esm_class: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: protocol_id: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: priority_flag: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: schedule_delivery_time: NULL 2002-02-05 08:07:00 [5] DEBUG: validity_period: NULL 2002-02-05 08:07:00 [5] DEBUG: registered_delivery: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: replace_if_present_flag: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: data_coding: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: sm_default_msg_id: 0 = 0x00000000 2002-02-05 08:07:00 [5] DEBUG: sm_length: 7 = 0x00000007 2002-02-05 08:07:00 [5] DEBUG: short_message: "Testing" 2002-02-05 08:07:00 [5] DEBUG: SMPP PDU dump ends. 2002-02-05 08:07:00 [5] WARNING: SMPP: PDU NUL terminated string has no NUL. 2002-02-05 08:07:00 [5] DEBUG: SMPP: Got PDU: 2002-02-05 08:07:00 [5] DEBUG: SMPP PDU 0x8202a60 dump: 2002-02-05 08:07:00 [5] DEBUG: type_name: submit_sm_resp 2002-02-05 08:07:00 [5] DEBUG: command_id: 2147483652 = 0x80000004 2002-02-05 08:07:00 [5] DEBUG: command_status: 72 = 0x00000048 2002-02-05 08:07:00 [5] DEBUG: sequence_number: 20 = 0x00000014 2002-02-05 08:07:00 [5] DEBUG: message_id: NULL 2002-02-05 08:07:00 [5] DEBUG: SMPP PDU dump ends. 2002-02-05 08:07:00 [5] ERROR: SMPP: SMSC returned error code 0x00000072 in response to submit_sm. Regard -dedy- -----Original Message----- From: Andreas Fink [mailto:[email protected]] Sent: Tuesday, February 05, 2002 2:09 PM To: Dedy Sutanto Subject: RE: How to construct Flash SMS >I think I am wrong. (forgive me). > >After testing with other SMSC (Logica), it shown that PDU from kannel cvs is >not terminated with NULL. > >Here Error message from kannel. >2002-02-05 04:28:33 [5] WARNING: SMPP: PDU NUL terminated string has no NUL. >2002-02-05 04:28:33 [5] ERROR: SMPP: SMSC returned error code 0x00000072 in >response to submit_sm. > >and it could be the real problem. > >How to insert this NULL? > can you enable packet dumps in smsc_smpp.c (there's a define at the top of the file to enable it)? -- Andreas Fink Fink-Consulting ------------------------------------------------------------------ Tel: +41-61-6932730 Fax: +41-61-6932729 Mobile: +41-79-2457333 Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland E-Mail: [email protected] Homepage: http://www.finkconsulting.com ------------------------------------------------------------------ Something urgent? Try http://www.smsrelay.com/ Nickname afink