About MMSC Routes,i add more MMSC Routes! | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through December 19, 2005 ⬆ |
◄ ► |
Author | Message | |||
Anonymous |
In NOW SMS/MMS Gateway v5.51b. If more than one MMSC ROUTES (GPRS modem) have been set in MMSC ROUTES, i want to know whether NowSMS can choose one of the routes when sending MMS???? thank.... | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5033 Registered: 10-2002 |
The routing logic works similar to the SMS routing logic. For each route, there is a "Route messages to this account for recipient phone number(s)" field. This is similar to the "Preferred SMSC Connection for" list in the SMSC list. However, in the MMSC Routing list, it is a comma delimited list instead of a more formal list. But it supports the same wildcards, where "*" represents 0 or more characters, and "?" represents exactly 1 character. So, for example, "+44*" would represent all numbers that start with "+44". And you can have multiple entries by comma delimiting. When NowSMS routes a message, if it sees that the message recipient matches an entry in one of these lists, it will only be routed outbound by one of the routes that has a matching entry in the list. When NowSMS evaluates this list, it looks for the longest match. So, for example, "+447*" is longer than "+44*". If a message was being routed to "+4477777777", and there were three routes defined that included "+44*" in the list, and two routes that included "+447*" in the list, the message would only be routed outbound via one of the routes that had "+447*" in the list. There is also the capability to perform sender based routing. Each MMSC Routing has a "Default Sender Address" associated with it. If the sender address in a message matches the sender address in a route, then this route will be used (instead of the recipient routing), as this is a way that you can explicitly specify a route. If you need to consult a database of phone numbers in order to determine the appropriate route, it is also possible to configure an HTTP callback so that NowSMS issues an HTTP request to ask how the message should be routed. This callback is described below:
-bn |