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? -----Original Message----- From: Dedy Sutanto Sent: Tuesday, February 05, 2002 11:20 AM To: Dedy Sutanto Cc: Kannel Developers (E-mail) Subject: RE: How to construct Flash SMS I have download the cvs version and compiled. But I have problem with it. It can bind to SMSC, everytime I send SMS via http sendsms it failed with error like this: 2002-02-05 03:45:01 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <10.21.108.224> 2002-02-05 03:45:01 [3] INFO: sendsms used by <tester> 2002-02-05 03:45:01 [3] INFO: sendsms sender:<tester:912> (10.21.108.224) to:<62818155112> msg:<testing> 2002-02-05 03:45:02 [5] ERROR: SMPP: SMSC returned error code 0x00000010 in response to submit_sm. 2002-02-05 03:45:51 [3] INFO: smsbox: Got HTTP request </cgi-bin/sendsms> from <10.21.108.224> 2002-02-05 03:45:51 [3] INFO: sendsms used by <tester> 2002-02-05 03:45:51 [3] INFO: sendsms sender:<tester:912> (10.21.108.224) to:<62818155112> msg:<testing> 2002-02-05 03:45:51 [5] ERROR: SMPP: SMSC returned error code 0x00000010 in response to submit_sm. Actually I used same configuration like I use in version 1.0.3. In debug file from SMSC, the are differentiations in TON and NPI. I think this one the problem. Is there any way to customize TON or NPI in http request? Regard -dedy- New Version (CVS) ================= Loaded a message from the SMPP client ============START OF DATA=============== Printing ESME to SMSC submit_sm Data: Command status: 0 Sequence number: 8 Service type: Source Addr TON: 2 Source Addr NPI: 1 Source Addr: 912 Target Addr TON: 2 Target Addr NPI: 1 Target Addr: 62818155112 ESM class: 0 Protocol ID: 0 Priority Flag: 0 Schedule delivery time: Validity period: Registered delivery flag: 0 Replace if present flag: 0 Data coding: 0 SM default message ID: 0 SM length: 9 Short Message: Testing ============END OF DATA========= Stable Version 1.03 =================== Loaded a message from the SMPP client ============START OF DATA=============== Printing ESME to SMSC submit_sm Data: Command status: 0 Sequence number: 3 Service type: Source Addr TON: 0 Source Addr NPI: 0 Source Addr: 912 Target Addr TON: 1 Target Addr NPI: 1 Target Addr: 62818155112 ESM class: 0 Protocol ID: 0 Priority Flag: 0 Schedule delivery time: Validity period: Registered delivery flag: 0 Replace if present flag: 0 Data coding: 3 SM default message ID: 0 SM length: 9 Short Message: Testing ============END OF DATA================= Dumping a message to the SMPP client: ============START OF DATA=============== Printing SMSC to ESME submit_sm_resp Data: Command status: 0 Sequence number: 3 Message ID: 91f7ad1 ============END OF DATA================= -----Original Message----- From: Stipe Tolj [mailto:[EMAIL PROTECTED]] Sent: Monday, February 04, 2002 3:43 PM To: Dedy Sutanto Cc: Kannel Developers (E-mail) Subject: Re: How to construct Flash SMS Dedy Sutanto wrote: > > Dear all, > > I am using kannel 1.0.3, the latest stable one and have customize > this version to suit with my SMPP connection.. > Currently, I use it to serve logo operator, ring tone and sms-email. > > I just wonder how to construct flash sms in this version. > Can anybody give any guiden or link to such information. > I'd like to expand my services with flash sms feature. you should consider to upgrade to the current cvs tree, or at least backport the flash sms support out of it. Stipe [EMAIL PROTECTED] ------------------------------------------------------------------- Wapme Systems AG Münsterstr. 248 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [EMAIL PROTECTED] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are