RE: [RFC] SMPP TON detection

"Oded Arbel" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Yes - this might break connections with providers that require you to always set ton and npi to specific values - even if you're sending alphanumeric. 
 
What we need is a way to set the defaults, and still be able to use "force"
 
--
Oded Arbel
m-Wise mobile solutions
[email protected]
 
+972-9-9581711 (116)
+972-67-340014
 
::..
A diplomat is someone who can tell you to go to hell in such a way that you will look forward to the trip

 



-----Original Message-----
From: Rejected Mails 
Sent: Wednesday, October 16, 2002 11:19 AM
To: Oded Arbel
Subject: FW: [RFC] SMPP TON detection


 

-----Original Message----- 
From: [email protected] on behalf of Stipe Tolj 
Sent: ג 15/10/2002 11:26 
To: [email protected] 
Cc: 
Subject: [RFC] SMPP TON detection



Hi, 

I'd like to request for comments for changing a bit the logic how the 
SMPP module detects the TON and NPI values. 

Currently if source-addr-ton and -npi is set in smsc group, the 
modules leaves them as they are defined, hence manually forcing. 

But that breaks things if you want to have TON=1, NPI=1 by default, 
hence manually force in smsc group *and* do sometimes send 
alphanumeric source addresses. 

A simple change in the if statement braces would fix this behaviour 
and let forced TONs change to alphanumeric TON if the source address 
is alphanumeric. 

Any complains or votes for this change? 

Stipe 

[email protected] 
------------------------------------------------------------------- 
Wapme Systems AG 

Vogelsanger Weg 80 
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
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.