Changes

no edit summary
Line 3: Line 3:  
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.
 
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==
 
==Prerequisites==
*[https://Beeceptor.com Beeceptor] account and created Mock server;
+
* Device with SIM card;
*Pre-configured email user;
+
* Teltonika router or gateway that supports mobile connectivity;
 +
* End device for configuration
 +
* [https://Beeceptor.com Beeceptor] account and created Mock server;
 +
* Pre-configured email user;
 
==SMS Forwarding To HTTP Configuration==
 
==SMS Forwarding To HTTP Configuration==
 
Creating server
 
Creating server
Line 27: Line 30:  
<tr>
 
<tr>
 
<th width=290; style="border-bottom: 1px solid white;></th>
 
<th width=290; style="border-bottom: 1px solid white;></th>
<th width=800; style="border-bottom: 1px solid white"; rowspan=2>[[File:SMS Forwarding To HTTP.png|border|class=tlt-border|right]]</th>
+
<th width=800; style="border-bottom: 1px solid white"; rowspan=2>[[File:SMSHTTPForward.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>
# Check '''Enable'''
+
# '''Check''' Enable.
# '''Enable''' SMS-Utilities rules forwarding to forward SMS Utilities rules.
  −
# '''Enable''' "Don't save received message" if you don't want the message stored.
  −
# '''Enable''' "Include sender's number" to forward the sender’s phone number.
  −
# If '''Include sender’s number is enabled''' enter number value name.
  −
# '''Set''' the "Mode" to choose who will receive the forwarded SMS.
  −
# '''Enable''' "Encode message text to Base64" if encoding is necessary.
  −
# '''Choose''' "HTTPS certificate verification" setting depending on your security requirements.
  −
# '''Select''' the "Method" (GET or POST) based on the type of request you want to use.
   
# '''Enter''' the URL where the SMS should be forwarded. (For this configuration we are using beeceptor)
 
# '''Enter''' the URL where the SMS should be forwarded. (For this configuration we are using beeceptor)
 
# '''Define''' the "Message value name" to represent the message text.
 
# '''Define''' the "Message value name" to represent the message text.
# '''Use''' "Extra data pair 1" to include additional parameters in the forwarded request.
  −
# '''Use''' "Extra data pair 2" to include additional parameters in the forwarded request.
   
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
'''Configure''' the rest of the settings to achieve desired configuration. After that press '''Save & Apply'''
 
===Testing configuration===
 
===Testing configuration===
 
----
 
----
Line 52: Line 46:  
<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:SMStoHTTPTested.png|border|class=tlt-border|right]]</th>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 61: Line 55:  
</table>
 
</table>
 
==SMS Forwarding To SMS configuration==
 
==SMS Forwarding To SMS configuration==
 +
===Configuring device===
 
<table class="nd-othertables_2">
 
<table class="nd-othertables_2">
 
<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:SmsForwardToSMS.png|border|class=tlt-border|right]]</th>
+
<th width=700; style="border-bottom: 1px solid white"; rowspan=2>[[File:STSF.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>
 
# Check '''Enable'''
 
# Check '''Enable'''
# '''Enable''' SMS-Utilities rules forwarding if needed.
+
# '''Enter''' the recipients phone number. If needed press [[File:Plus_Button.png|Plus_Button.png]] to add more numbers.
# '''Enable''' "Don't save received message" if you don't want the message stored.
  −
# '''Enable''' "Include sender's number" to forward the sender’s phone number.
  −
# '''Set''' the "Mode" to choose who will receive the forwarded SMS.
  −
# '''Enter''' the recipients phone number. If needed press the [[File:Plus_Button.png|Plus_Button.png]] to add more numbers.
   
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 +
'''Configure''' the rest of the settings to achieve desired configuration. After that press '''Save & Apply'''
 
===Testing configuration===
 
===Testing configuration===
 
----
 
----
 
<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:EmailUser.png|border|class=tlt-border|right]]</th>
 +
</tr>
 +
<tr>
 +
<td style="border-bottom: 4px solid white>
 +
# '''Enable''' secure connection.
 +
# '''Write''' SMTP server. For this example gmail SMTP will be used.
 +
# '''Write''' SMTP server port.
 +
# '''Enable''' credentials.
 +
# '''Write''' username. (email address)
 +
# '''Write''' password. Since this example is using gmail SMTP we will need to use app password. More information about it [https://support.google.com/accounts/answer/185833?hl=en here].
 +
# '''Write''' sender's email address (the email address that will be used to send email from)
 +
</td>
 +
</tr>
 +
</table>
 +
'''Configure''' the rest of the settings to achieve desired configuration. After that press '''Save & Apply'''
 +
===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:STE.png|border|class=tlt-border|right]]</th>
 +
</tr>
 +
<tr>
 +
<td style="border-bottom: 4px solid white>
 +
# '''Check''' Enable.
 +
# '''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>
 +
</tr>
 +
</table>
 +
'''Configure''' the rest of the settings to achieve desired configuration. After that press '''Save & Apply'''
 +
===Testing configuration===
 +
----
 +
<table class="nd-othertables_2">
 +
<tr>
 +
<th width=400; style="border-bottom: 1px solid white;></th>
 +
<th width=500; style="border-bottom: 1px solid white"; rowspan=2>[[File:STET.png|border|class=tlt-border|right]]</th>
 +
</tr>
 +
<tr>
 +
<td style="border-bottom: 4px solid white>
 +
To test the configuration, send a SMS to the device and check recipient's email address.
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>