Re: How to construct Flash SMS

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <p05101200b8854a391f4c@[193.53.0.53]>
>Andreas Fink wrote:
>>
>>  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, it seems this TON issue is getting us into trouble. Shouldn't
>we use internal logic to handle this? I don't think it would be too
>hard to figure it out?
>

Ok. well the question is why is it getting into trouble as TON=1 is 
definitively a valid setting. TON=2 (national) could be replaced for 
TON=0 (undefined). Maybe that fixes 99% of the cases. In my case 
TON=0 is not accepted by the SMSC (which I consider a valid response).

Maybe it would be good to create a list of SMSC types which act differently.

-- 

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.