Routing SMS to multiple modems | Search |
NowSMS Support Forums ⬆ NowSMS Support - SMS Issues ⬆ Archive through July 28, 2010 ⬆ |
◄ ► |
Author | Message | |||
LengPH New member Username: Lengph Post Number: 1 Registered: 05-2010 |
I have 3 modems added in nowsms those modems are using different carriers. How can I route an sms to be sent using the specific modem. For example sms1 is sent to a number +45916xxxxxxx I want to check if the number starts with +45916 and then send it using modem 1 if another sms is sent with the number +45922xxxxxxx I want to send it using modem 2. So basically I want to check the prefix of the number with at least 4 characters and specify what modem it should use to send the sms. Can you please help me on how to achieve this?} | |||
LengPH New member Username: Lengph Post Number: 2 Registered: 05-2010 |
I already found the answer here http://blog.nowsms.com/2008/07/routing-sms-messages-to-specifc-smsc.html If NowSMS did not find a match on the sender address, then it evaluates the recipient address, and it will look to see if it finds a match in the "Preferred SMSC Connection for" recipient address masks associated with any of the SMSC connections. (These recipient address masks can be wildcards such as "+44*" to match any phone number that starts with "+44".) If NowSMS finds a match, then it looks for the longest mask that provides a match, and routes the message via the connection with the longest matching mask. (For example, if you were sending to +447624999999, and you had one connection with a mask of "+44*", and another with "+447624*", then the connection with the mask of "+447624*" would be used as it is a longer match than "+44*".) But where can I find the form to enter the recipient address masks? is it on the SMSC tab > Properties > Routing > Preffered SMSC connection for Is that where I need to enter the phone number mask? | |||
LengPH New member Username: Lengph Post Number: 3 Registered: 05-2010 |
Ok I already confirmed it. Thanks |