SMS routing examples

In this guide we will show you some of the most important examples about SMS routing such as preventing sending international messages and assigning phone numbers to users. SMS routing plays an important role in messaging as it efficiently directs messages from sender to recipient. It reduces costs by avoiding unnecessary international gateways. This ensures messages reach their destination quickly and affordably. The other example's goal is to efficiently distribute phone numbers to users for optimal communication. Learn more about how to prevent international SMS messages and how to assign phone numbers to users using routes by reading this page.

How to turn off sending international SMS? (Quick start guide)

  1. Access your Ozeki SMS Gateway account
  2. Add new routing rule
  3. Go to the 'Match' tab
  4. Choose the 'To address' option
  5. Set recipient with national code
  6. Set connections
  7. Modify the default route to drop messages
  8. Send a message using an international address
  9. International message is dropped
  10. Send a message using a national address
  11. National message is sent
  12. Add new rule to allowed user
  13. Send a message from allowed user using an international address
  14. Allowed user's international message is sent
  15. Send a message from allowed user using a national address
  16. Allowed user's national message is sent

How to block International SMS messages?

In this short video guide we will walk you through the most important steps when it comes to SMS routing. By the end of this tutorial you will know how to disable or able sending international SMS messages. Blocking international SMS messages can save you money and ensure faster delivery. (Video 1)

How to prevent sending international SMS messages (Step by step guide)

To begin the process, login to your Ozeki SMS Gateway account. If you do not have an account yet, then create one, by downloading Ozeki SMS Gateway from the website. The first thing you have to do is click on the 'Create new route' sign to create a new routing rule. (Figure 1)

Add new routing rule
Figure 1 - Add new routing rule

A 'Route details' window will open, where you have to select the 'Match' tab. Within the 'Match' tab you have to choose the 'To address' option. You will be required to set up a recipient with a national code in the 'Recipient' window. (Figure 2) When you are ready, click on the "Ok" button to continue the process.

Set recipient to start with national code
Figure 2 - Set recipient to start with national code

The next step is setting connections (Figure 3). Do this by clicking on the route you have just added in the previous step. Go to the 'General' tab and specify the message route. You have to provide where and from where you want your messages to go. Set 'From' to 'Any_SMS_User@localhost' and 'To' to 'Any_SMS_Connection@localhost' Hit the 'OK' button to save changes.

Set connections
Figure 3 - Set connections

To continue the process, you have to modify the default route to drop messages (Figure 4). Select 'out_sms' and then go to the 'General' tab. Go to 'Mode' and open the drop down list. Select the 'drop' option.

Modify default route to drop messages
Figure 4 - Modify default route to drop messages

To succeed with this step, you have to send a message first. Set the recepient's address and then enter the message you would like to send into the box. Press 'Ok' to deliver the message. After sending the message you will see the 'Message delivery history'. As you will see the message did not go through routing because international messages are dropped (Figure 5).

International messages droped
Figure 5 - International messages droped

The next step is sending a new message but using a national address. Enter recipient's address into the proper box, and type a message. Press 'Ok' to deliver the message. You will see at the 'Message delivery history' that the national message has been successfully sent (Figure 6).

National message sent
Figure 6 - National message sent

Adding a new rule to allowed user is the next important step in the process (Figure 7). Go to the 'General' tab and set up the new route's settings. Select 'Any_SMS_Connection@localhost' from 'To'. Press 'Ok' to add new rule.

Add new rule to allowed user
Figure 7 - Add new rule to allowed user

Go to the Home page and select the correct user. Set the proper international recepient's address and enter you message into the box below. You will see, that the allowed user's international message has been sent (Figure 8).

Allowed user international message sent
Figure 8 - Allowed user international message sent

Send an other message using the same allowed user you have used before. This time instead of an international address, use a national one. At the 'Message delivery history' you can see that your message has also been successfully sent to a national address (Figure 9).

Allowed user national message sent
Figure 9 - Allowed user national message sent

How to assign phone numbers to users using routes (Quick Start Guide)

  1. Log into your Ozeki SMS Gateway account
  2. Create new route to Alice
  3. Go to the 'Match' tab and choose the 'To address' option
  4. Set Alice's phone number
  5. Create new route to Bob
  6. Go to the 'Match' tab and choose the 'To address' option
  7. Set Bob's phone number
  8. Create route for other numbers
  9. Modify the routing order by clicking on the arrows
  10. Send message to Alice
  11. Message is sent to Alice
  12. Go to Alice's 'Inbox' and see that the message is there
  13. Send message to Bob
  14. Message is sent to Bob
  15. Go to Bob's 'Inbox' and see that the message is there
  16. Send message to other number
  17. Message is sent to other number
  18. Go to 'Managment' and choose the 'SMPP_client_1'
  19. Message is received by the service provider

How to assign phone numbers to users using routes (Video tutorial)

In this easy-to-follow, user-friendly video guide we will show you the most imortant steps when it comes to assigning phone number to users using routes (Video 2).

How to assign phone numbers to users using routes (Step by step guide)

First thing first, log into your Ozeki SMS Gateway account. Go to the'Create new route' to beging the process. Navigate to the 'General' tab and within the 'Settings' specify the message route. Set 'From' to 'Any_SMS_user@localhost' and 'To' to 'Alice@localhost' so that you create a new route to Alice (Figure 10).

Create new route to Alice
Figure 10 - Create new route to Alice

Reach the 'Match' tab. Choose the 'To address' option within the 'Match' tab. Set Alice's phone number by entering the recipient's address (Figure 11).

Set Alice phone number
Figure 11 - Set Alice phone number

Now you have to repeat the previous steps, but now with Bob. Click on 'Create new route' (Figure 12). Go to the 'Settings' within the 'General' tab and change the message route's destination to 'Bob@localhost'.

Create new route to Bob
Figure 12 - Create new route to Bob

Setting up Bob's phone number is the next crucial step. Navigate to the 'Match' tab and select the 'To address' option from the list. Enter Bob's phone number into the 'Recepient' box (Figure 13).

Set Bob phone number
Figure 13 - Set Bob phone number

To continue the process you need to create a new route for other numbers (Figure 14). Go to the 'General' tab and specify the message route. Set the starting point of the message route to 'Any_SMS_User@localhost' and the destination to 'SMPP_client_1@localhost'. Press 'Ok' to save changes.

Create route for other numbers
Figure 14 - Create route for other numbers

Within your routes, you can modify the routing order (Figure 15). Click on the proper arrows to reach to the desired order you wish to create.

Modify routing order
Figure 15 - Modify routing order

The next step is sending a message to Alice. Enter Alice's phone number into the 'Address' box, write you message and press 'Ok' to deliver the message. At the 'Message delivery history' you will see that the message has been sent to Alice (Figure 16).

Message sent to Alice
Figure 16 - Message sent to Alice

Navigate to the 'Managment' sign in the upper right corner of the screen. Select 'Alice' user. Go to 'Inbox' and you will see the message we have just sent to Alice (figure 17).

Alice inbox
Figure 17 - Alice inbox

Repeat the very same steps, but now with Bob. Send a message using Bob's phone number, enter the SMS message and press 'Ok' to send. At the 'Message delivery history' you will see that the message has been sent to Bob (Figure 18).

Message sent to Bob
Figure 18 - Message sent to Bob

Go to 'Managment', and select Bob user. Go to Bob's inbox to see that the message appears in his inbox (Figure 19).

Figure 19 - Bob inbox

The next step is sending a message to another number (Figure 20). After you press 'Ok' you will see that the message has been successfully sent to other number.

Message sent to other number
Figure 20 - Message sent to other number

Go to 'Managment' and choose the 'SMPP_client_1' among the connections. At the bottom of the page you will see that the message has been received by the service provider (Figure 21).

Message received by the service provider
Figure 21 - Message received by the service provider

Frequently Asked Questions (FAQs)

What is SMS routing?

SMS routing is the method of directing text messages from the sender to the recipient efficiently, considering factors like destination and cost. It ensures messages are delivered reliably and quickly while minimizing expenses.

Why is preventing international SMS messages important?

  • Saving money: International texting often costs more than local messaging. By stopping international SMS, users and providers can avoid pricey fees.
  • Steady communication: International texting can strain networks, slowing down delivery. Blocking unnecessary international messages keeps things running steadily.
  • Targeting audience: If a business wants to reach specific group of audience, avoiding international messaging lets them focus efforts where they matter most, making campaigns more effective.

Why should I use routes when assigning phone number to users?

If you have both local and international phone numbers, routes ensure that your messages are sent through the most cost-effective path. They are useful when you need more control over how your SMS messages are handled based on the phone number or other factors.

Summary

These SMS Routing examples can be very helpful when it comes to optimizing your communication. For example, preventing international SMS messages in SMS routing is important for several reasons. It helps to minimize costs for both users and service providers by avoiding expensive international routing fees. But knowing how to assign phone numbers to users using routes is also important. The aim is to effectively distribute phone numbers among users, enabling proper communication, and improving the management of resources. Within Ozeki SMS Gateway you can try out these SMS routing examples and use them to make your communication system better while ensuring faster and more reliable delivery of your messages.