SMS Forwarding Configuration Example: Difference between revisions

From Teltonika Networks Wiki
No edit summary
No edit summary
Line 52: Line 52:
<tr>
<tr>
<th width=300; style="border-bottom: 1px solid white;></th>
<th width=300; style="border-bottom: 1px solid white;></th>
<th width=700; style="border-bottom: 1px solid white"; rowspan=2>[[File:SMSHTTPForwardTest.png|border|class=tlt-border|right]]</th>
<th width=700; style="border-bottom: 1px solid white"; rowspan=2>[[File:|border|class=tlt-border|right]]</th>
</tr>
</tr>
<tr>
<tr>
Line 81: Line 81:
<table class="nd-othertables_2">
<table class="nd-othertables_2">
<tr>
<tr>
<th width=300; style="border-bottom: 1px solid white;></th>
<th width=500; style="border-bottom: 1px solid white;></th>
<th width=700; style="border-bottom: 1px solid white"; rowspan=2>[[File:SMSToSMSForward.png|border|class=tlt-border|right]]</th>
<th width=400; style="border-bottom: 1px solid white"; rowspan=2>[[File:SMSToSMSForward.png|border|class=tlt-border|right]]</th>
</tr>
</tr>
<tr>
<tr>
<td style="border-bottom: 4px solid white>
<td style="border-bottom: 4px solid white>
To test the configuration, send a SMS to the device. The recipient’s number should receive forwarded message.
To test the configuration, send a SMS to the device. The recipient’s number should receive forwarded message.
</td>
</tr>
</table>
==SMS Forwarding To Email configuration==
===Email account configuration===
----
In order to achieve SMS forwarding to email first we need to create email account from which emails will be sent.
For this configuration we will use [https://support.google.com/a/answer/176600?hl=en Gmail SMTP].
Navigate to '''System'''→'''Administration'''→'''Recipients''', press '''Email Users'''. In here enter the desired name for new instance and press
[[File:Add Button.png|60x90px]].
<table class="nd-othertables_2">
<tr>
<th width=270; style="border-bottom: 1px solid white;></th>
<th width=800; style="border-bottom: 1px solid white"; rowspan=2>[[File:Email Configuration.png|border|class=tlt-border|right]]</th>
</tr>
<tr>
<td style="border-bottom: 4px solid white>
</td>
</tr>
</table>
===Configuring the device===
----
<table class="nd-othertables_2">
<tr>
<th width=270; style="border-bottom: 1px solid white;></th>
<th width=800; style="border-bottom: 1px solid white"; rowspan=2>[[File:SMStoEMAIL.png|border|class=tlt-border|right]]</th>
</tr>
<tr>
<td style="border-bottom: 4px solid white>
# '''Check''' Enable
# '''Enable''' "Forward SMS-Utilities rules" if you want to forward SMS utilities rules.
# '''Enable''' "Don't save received message" if you do not want the SMS to be stored.
# '''Enable''' "Include sender's number" if the sender's phone number needs to be included in the forwarded email.
# '''Set''' the "Mode" to select which SMS messages will be forwarded.
# '''Enter''' the "Subject" for the forwarded email.
# '''Select''' the "Sender's email account" that will send the forwarded message.
# '''Enter''' the "Recipient's email address" where the forwarded SMS should be sent.
</td>
</td>
</tr>
</tr>
</table>
</table>

Revision as of 14:34, 20 September 2024

The information in this page is updated in accordance with 00.07.09.2 firmware version.

Introduction

This page contains instructions how to configure SMS forwarding. SMS forwarding can be utilized if there is a need to monitor received messages via HTTP, SMS or email.

Prerequisites

  • Beeceptor account and created Mock server;
  • Pre-configured email user;

SMS Forwarding To HTTP Configuration

Creating server In order to test the functionality, you will need to set up a server. There are many ways how you can create a server to which SMS forwarding will forward SMS. In this example we are going to be using a Beeceptor's Mock server. If you don't have a Beeceptor account yet – create it or login via Google account.

  1. Specify your desired mock server's URL.
  2. Press on Create Mock Server.

Configuring device


Open router’s WebUI, navigate to ServicesMobile UtilitiesSMS Gateway and press SMS forwarding tab.

File:SMS Forwarding To HTTP.png
  1. Check Enable
  2. Enable SMS-Utilities rules forwarding to forward SMS Utilities rules.
  3. Enable "Don't save received message" if you don't want the message stored.
  4. Enable "Include sender's number" to forward the sender’s phone number.
  5. If Include sender’s number is enabled enter number value name.
  6. Set the "Mode" to choose who will receive the forwarded SMS.
  7. Enable "Encode message text to Base64" if encoding is necessary.
  8. Choose "HTTPS certificate verification" setting depending on your security requirements.
  9. Select the "Method" (GET or POST) based on the type of request you want to use.
  10. Enter the URL where the SMS should be forwarded. (For this configuration we are using beeceptor)
  11. Define the "Message value name" to represent the message text.
  12. Use "Extra data pair 1" to include additional parameters in the forwarded request.
  13. Use "Extra data pair 2" to include additional parameters in the forwarded request.

Testing configuration


[[File:|border|class=tlt-border|right]]

To test the configuration, send a SMS to the device and check beeceptor Mock server.

SMS Forwarding To SMS configuration

File:SmsForwardToSMS.png
  1. Check Enable
  2. Enable SMS-Utilities rules forwarding if needed.
  3. Enable "Don't save received message" if you don't want the message stored.
  4. Enable "Include sender's number" to forward the sender’s phone number.
  5. Set the "Mode" to choose who will receive the forwarded SMS.
  6. Enter the recipients phone number. If needed press the Plus_Button.png to add more numbers.

Testing configuration


To test the configuration, send a SMS to the device. The recipient’s number should receive forwarded message.

SMS Forwarding To Email configuration

Email account configuration


In order to achieve SMS forwarding to email first we need to create email account from which emails will be sent. For this configuration we will use Gmail SMTP. Navigate to SystemAdministrationRecipients, press Email Users. In here enter the desired name for new instance and press .

File:Email Configuration.png

Configuring the device


File:SMStoEMAIL.png
  1. Check Enable
  2. Enable "Forward SMS-Utilities rules" if you want to forward SMS utilities rules.
  3. Enable "Don't save received message" if you do not want the SMS to be stored.
  4. Enable "Include sender's number" if the sender's phone number needs to be included in the forwarded email.
  5. Set the "Mode" to select which SMS messages will be forwarded.
  6. Enter the "Subject" for the forwarded email.
  7. Select the "Sender's email account" that will send the forwarded message.
  8. Enter the "Recipient's email address" where the forwarded SMS should be sent.