SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

Developers can use our C# SMS API to send SMS from C#.Net. The C# SMS API comes with full source code

The ozeki PHP SMS gateway software can be used to send SMS from PHP and to receive SMS usig PHP on your website

SMPP SMS Gateway
SMS service providers use our SMPP gateway solution, that offers a high performance SMPP server and SMPP client gateway with amazing routing capabilities
Ozeki 10 SMS Gateway

How to send SMS to many numbers

The following guide explains how you can send a copy of an SMS message to multiple phone numbers. The solution presented can not only be used to send the same text to multiple contacts, but it can also be used to send a different text from your computer to the selected phone numbers. This solution is great if you wish to notify multiple people with one text message. It can also be used to send additional information to a single person, when a certain text message is sent to him. To understand the tutorial it is helpful if you are familiar with the SMS routing basics of Ozeki SMS Gateway. This document contains use cases, a video tutorial and a step by step instruction list which makes the whole procedure easy to complete. This guide takes about ten minutes to complete. So, let's get started!

Use cases

  • Let a business application send a notification to multiple recipients
  • Recevice a text and forward it to multiple contacts
  • Send multiple sms from your pc with one click
  • Send multiple text messages to one person with different text
  • Send the same text to multiple phone numbers, when an app wants to send a notification.
  • Send sms to multiple contacts in a contact list

How to send sms to multiple recipients?

There are three basic methods to send SMS to multiple recipients. You can add a list of phone numbers on the SMS composer form, you can add the phone numbers to an SMS addressbook (and use the addressbook name as the recipient field when you send the text messages), and you can use the routing table to send a single SMS to many phone numbers. This document focuses on using the SMS routing table to achieve this goal.

To send sms to multiple recipients you can:

  • Add multiple recipients in the to field in the sms composer
  • Use an SMS addressbook as the SMS recipient
  • Setup SMS routing to send the sms to many numbers

How can an application send a text to multiple numbers using a PC

If you apply this solution in a business system, you will use an SMS gateway installed on a PC. The business application will send the SMS to this SMS gateway, and it will make copies of the SMS and forward the copies to the mobile network. When you send SMS to multiple recipients from a PC you can build a high performance system sending several thousand or even several million SMS messages.

To setup this solution install Ozeki SMS gateway on Windows or Linux, connect it to the mobile network through the Internet or using a wireless link, and create a user account in it for the business application to be able to send the notification. The notification sent by the business application can be sent to multiple phone numbers by creating several rules in the routing table with the copy directive.

Figure 1 - Send SMS to multiple contacts from PC

How to send SMS to multiple recipients (Quick instructions)

To send SMS to many numbers:

  1. Connect your PC to the mobile network
  2. Determine the phone number of the PC
  3. Setup routing to copy SMS messages to multiple numbers
  4. Send a test SMS from the SMS gateway
  5. Send an SMS from the Business application
  6. Let the SMS gateway forward the SMS to the recipients
  7. Check the log to see if the SMS was sent multiple times
  8. Ask the recipients if they received the SMS

To send sms to multiple recipients (video tutorial)

In the following video you can see the configuration example. In this example the business application will connect to the SMS gateway through an SMPP server user account. A similar configuration can be used if the business application uses the C# SMS api, or any other method to connect to the SMS gateway.

After the business application is connected, the SMS gateway will use an smpp client connection to forward the SMS messages to multiple numbers to the mobile network. The routing table will do the magic of creating copies of the sms.

Step 1 - Connect your PC to the mobile network

The first step to setup this solution is to connect your PC to the mobile network. You can do this in various ways: you can create a direct connect ot a mobile network operator's SMSC using an SMPP client connection, an UCP client connection or a CIMD2 client connection. You can connect to an online SMS service provider over the Internet, or you can also connect wirelessly, by attaching a GSM modem or a GSM modem pool to your PC or you can simply turn your android mobile into an SMS gateway.

The most simple solution is to use the android sms gateway option. The best solution is to use an SMPP client connection, because it gives much higher performance.

Open SMS Gateway application
Figure 2 - Open SMS Gateway application

After you opened the SMS Gateway application, you will be able to see the main menu of the SMS Gateway. This main menu contains three main sections: Connections, Routes and Users and Applications. Now, at this point, you need to create a user in the SMS Gateway. To perform this operation, just click on 'Add new user/application...' as you can see it in Figure 3.

Add new user or application
Figure 3 - Add new user or application

The next menu that shows up, lists all the available users and applications that can be created in SMS Gateway. Every option has got a short description that helps you to decide which application is needed in your case. To follow this guide, you just need to have a simple Standard user, so as Figure 4 shows that, just click on the 'Install' button of the Standard user connection.

Install standard user
Figure 4 - Install standard user

Before finishing the creation of the Standard user connection, you have to specify some details for the connection. These details in this case are a username and a password for the connection. So, all you need to do is to provide these details for the connection like in Figure 5 and finally, click on Ok to create the first of the two Standard user connections that needed to complete this guide.

Define username and password
Figure 5 - Define username and password

Step 2 - Create the second standard user connection

To see the effects of how Ozeki 10 SMS Gateway copies the SMS messages for multiple connections, you need to create a second Standard user connection. To be able to do this, you just need to follow the instructions of Step 1, since it needs to be created the same way. The only thing that have to be different is the username and the password of the connection. After you created the connection, it shows up as you can see it in Figure 6.

Create the secon user too
Figure 6 - Create the second Standard user connection

Step 3 - Create HTTP Server connection

The next step of the guide that you need to complete is to create an HTTP Server connection that is capable of sending SMS messages. This way, you will be able to see how the SMS messages are routed to the Standard user connections. To create a new HTTP Server connection, first, select the 'Add new connection...' option from the main menu of the SMS Gateway as Figure 7 demonstrates that.

Add new connection
Figure 7 - Add new connection

Next, the selection menu of the connection is going to show up, where you can choose from a lot of available connections with some description and choose which one suits your solution the most. Now, you need to choose the HTTP Server connection, so as you can see it in Figure 8, click on the 'Install' button of that connection the move to the installation menu, where you can specify some details of the connection.

Install HTTP server
Figure 8 - Install HTTP server

Finally, before you can create the HTTP Server connection, you have to provide the main details of the connection. The first thing that you have to specify here is the name of the connection. Next, you can choose the port, where the HTTP Server is going to run. You can modify this port, you can just leave it as the default port number. Lastly, specify a telephone number for this connection which makes it easier to identify. After you created the connection, you need to enable it by turning on the toggle like in Figure 9. If it is successfully enabled you will be able to see the green tick on the connection.

Enable HTTP server connection
Figure 9 - Enable HTTP server connection

Step 4 - Create a route to the first Standard user

After you created all connections that needed, next, you should set up the routes that copy the messages to the user connections. Since the creation of each user connections also created a default route for them, you don't have to create a completely new route, you can just modify the existing one. So, just select the route of the first Standard user connection. Here, you need to modify the 'From' field by setting the HTTP Server connection for that like in Figure 10 and for the 'Mode', select the Copy option. If you have done these settings, just click on OK.

Modify the first route
Figure 10 - Modify the first route

Step 5 - Create a route to the second Standard user

The route of the second Standard user connection needs to be set up properly as well. So, as you did with the first user connection, select the route of the second Standard user connection from the list of the routes. Here, you need to select the HTTP Server connection for the 'From' field, and as you can see it in Figure 11, select the 'Move' option as the Mode. Lastly, just click OK to save the modifications.

Modify the second route
Figure 11 - Modify the second route

Step 6 - Simulate incoming SMS

At this point, every connection and route set up for the incoming messages. Now, you just need to receive some. To test the solution, you can use the HTTP Server connection to initiate some message and see how it will be routed between the Standard users. For that, open the menu of the HTTP Server connection, and here, click on its URL on the left side. By doing this action, the HTML form of the connection shows up (Figure 12). All you need to do here to send a test message is to set up a recipient phone number and write the text of the message. If you finished, just click on 'Submit'.

Simulate an incoming sms
Figure 12 - Simulate an incoming sms

Step 7 - Check the inbox folder of the first Standard user

Now, it's time to check the inbox folder of the Standard users to make sure the route works properly and copied the messages from the HTTP Server connection. So, to do this, just select the first Standard user from the main menu and click on the Inbox folder. Here, you will be able to see like in Figure 13, that the message sent by the HTTP server connection landed in the inbox folder of the Standard user connection as well. This means the route copied the message successfully.

SMS in the first user inbox
Figure 13 - SMS in the first user inbox

Step 8 - Check the inbox folder of the second Standard user

The last step of the guide is to check the inbox folder of the second Standard user connection as well. For that, just select the connection from the main menu, and as Figure 14 demonstrates that, click on the Inbox folder. Here, you should see the same message that was in the inbox folder of the first Standard user connection. If it is the case, that means the second route did its job successfully to move the message to the second Standard user.

SMS in the second user inbox
Figure 14 - SMS in the second user inbox

More information