Home
RECOMMENDED FOR YOU:
SMS Gateway software
Ozeki brings you outstanding
SMS Gateway technology. Use our SMS Server products on Windows,Linux, or Android

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

PHP SMS API
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

How to add text to the end of the SMS

This section is going to demonstrate that you can append a text message to the end of the SMS. This solution is quite useful if you want to ad an advertisment or a signiture to the end of the SMS. To achieve this goal the SMS routing table is used. An SMS routing rule, that matches the sms appends the desired text to the end of the existing message. By following the steps in this document, you will be able to see how you need to set up the routing rule to add text at the end of the message. The document demonstrates every step with a short description about what you have to do next. You can also find screenshots at each step to be able to visually check if you have done everything correct.

Step 1 - Open a routing rule

The first step is to select a route that you want to modify. If you are not familiar with routing rules, here you can learn about SMS routing in SMS Gateway. SMS Gateway creates default routes, so you can simply select the default outgoing route as you can see it in Figure 1.

select a routing rule in sms gateway
Figure 1 - Select a routing rule in SMS Gateway

Here, you can see the setting menu of the routing rule. To be able to modify the messages on this route, you just need to select the Modify tab as you can see it in Figure 2.

select the modify menu
Figure 2 - Select the Modify menu

Step 2 - Configure the message to add a postfix

In the Modify menu, you have to select the 'Replace message text' submenu to be able to modify the message. To keep the original message, you can use the '${Content}' tag as in Figure 3. This tag represents the original message, so if you write something after that, the routing rule appends it to the original message. To save this setting, click on OK.

configure the swap of sender and receiver
Figure 3 - Configure the message to add a postfix

Step 3 - Send a test message

After you configured the outgoing routing rule, you just need to write a test message. For that purpose, you can set up a SMPP client, which will forward the message to the recipient. Here, you can learn how to set up a SMPP client connection. To write the message, just open the admin account, and like in Figure 4, just write a simple test message.

write a simple test message
Figure 4 - Write a simple test message

Step 4 - View the results in the event log

You can simply check if you have done everything correctly by just opening the SMPP client and here, select the Events tab. Here, you can see every event of the SMPP client connection. Figure 5 shows that the original text is merged with the text, that you wrote before so it will be sent together.

see that the routing rule changed the message text
Figure 5 - See that the routing rule changed the message text

More information