- Quick start guide
- System requirements
- Installation guide
- Mobile networks
- User guide
- Developers guide
- Service providers
- OZX server
- Short code
- SMPP client
- SMPP server
- User authentication
- Reporting database
- Performance tuning
- SMS routing
- How to copy sms
- Least cost routing
- Sender ID
- Error detection
Least cost SMS routing
This is a configuration example on how to setup least cost routing in Ozeki SMS Gateway. Least cost routing means, that SMS messages are routed to the appropriate SMS service provider connection based on the telephone number prefix.
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).
Figure 1 - Add new routing rule
In the Route details menu select the From and To connections which are Any SMS User and Telenor in this case (Figure 2).
Figure 2 - Specify from and to connection
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).
Figure 3 - Specify to address prefix
Repeat above steps with the another two service provider connections as you can see on the Figure 4 and Figure 5.
Figure 4 - T-Mobile routing rule
Figure 5 - Vodafone routing rule
Finally you can see the routing rules in the Outbound section the bottom part of the center panel of the management form (Figure 6).
Figure 6 - Add new routing rule