Send local telco numbers only, how?

Send local telco numbers only, how? SearchSearch
Author Message
b.b
Unregistered guest
Posted on Monday, May 17, 2004 - 05:13 am:   

Hi,
I want to limit my users to send only local phone numbers, so that users cannot send to international phone numbers. Any idea?

Thanks
regards
b.b
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 2623
Registered: 10-2002
Posted on Monday, May 17, 2004 - 05:39 pm:   

Hi b.b,

Unfortunately, the only way to do this is to effectively route these messages to nowhere.

Define the SMSC connection for the local numbers so that "Support any outbound message traffic" is not checked. And then define the allowed prefixes in the preferred connection list (e.g., 0*, 44*, +44* or whatever).

Then, define another SMSC connection where "Support any outbound message traffic" is checked. But where the messages will essentially be discarded. You could define an HTTP SMSC connection, and just point it to a script that accepts the messages but doesn't actually send them (or just point it to a page on your web site instead of an actual script).

The downside of this is that the messages are accepted, but then silently rejected. It would be better if NowSMS had options that could be defined on user accounts where we could reject the submissions when the messages are submitted, so that the user could know that the messages will not be delivered. (I've made a request to add that feature in a future version, but there are no guarantees when/if that will be implemented.)

-bn