- Quick start guide
- System requirements
- Installation guide
- Mobile networks
- User guide
- Standard user
- Autoreply SMS
- SMS from Excel
- SMS from Txt
- SMS from FTP
- Application starter
- E-mail to SMS
- SMS routing
- SMS routing copy
- Least cost SMS routing
- SMS routing to networks
- SMS modification
- Developers guide
- Service providers
Least cost SMS routing
This is a configuration example on how to setup least cost SMS routing in Ozeki SMS Gateway. Least cost SMS routing means, that SMS messages are routed to the appropriate SMS service provider connection based on the telephone number prefix. If you are not familier with SMS routing at all, we recommend you to read the SMS routing basics guide before you continue.
In our example, there are three SMS Service provider connections: Telenor, T-Mobile, Vodafone. The routing is setup the following way:
- If an SMS is sent to a phone number that starts with +3620 it should be routed to Telenor
- If an SMS is sent to a phone number that starts with +3630 it should be routed to T-Mobile
- If an SMS is sent to a phone number that starts with +3670 it should be routed to Vodafone
- All other SMS messages should be routed to one of these providers randomly.
To setup this routing the outbound routing table should be modified. The outbound routing table, that determines which service provider connection will be used to send an SMS message, can be found in the bottom part of the center panel of the management form of Ozeki SMS Gateway (Figure 1).
In the Route details menu select the From and To connections which are Any SMS User and Telenor in this case (Figure 2).
On the Match tab, in the To address field, you can enter the phone number prefix you want to use in the given routing rule (Figure 3).
Repeat above steps with the another two service provider connections as you can see on the Figure 4 and Figure 5.
Finally you can see the routing rules in the Outbound section the bottom part of the center panel of the management form (Figure 6).