On Jeudi, juin 19, 2003, at 04:00 Uhr, Stipe Tolj wrote:
Alexander Malysh schrieb:
Hi Stipe,
-1 from me.
How do you want recognize national numbers? International numbers can be
simple detected. They have '+' in front and then we set ton to international
and remove the plus.
hmm, so you *require* users to send "&to=%2b49xxx" at sendsms HTTP
interface. If someone sends "&to=49xxx" then it will be send with
national TON.
sure. that makes SENSE.
and if you disagree, you can force it with setting ton=international in the config file.
default should be autodetect. "+" clearly indicates international, anything else is a guess which would be "00..." international, 0{1...9} or {1...9} would be national or subscriber or unknown.
my recommendation would be for autodetect (default case)
+ -> international
anything else -> unknown
unless you force it in config file to something specific in which case autodetect would be off.
Andreas Fink
Global Networks Switzerland AG
------------------------------------------------------------------
Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
Web: http://www.global-networks.ch/ [EMAIL PROTECTED]
------------------------------------------------------------------