RE: How to construct Flash SMS
Andreas Fink <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <p05101205b88534914c44@[10.0.0.2]> |
>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? You got to send the numbers to kannel in international format (+...) to get TON to be set to 1. If you send them in national format without the +, TON is set to 2 (national), not 0 (unspecified) Or you might simply patch that part to set TON always to zero. Depends on the SMSC you are using. Mine does not accept zero. Second problem you could run into is that you are sending alphanumeric FROM address which some SMSC's dont like. -- 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