Changes

no edit summary
Line 242: Line 242:  
     </tr>
 
     </tr>
 
</table>
 
</table>
<!--
+
 
 
==SMS Forwarding==
 
==SMS Forwarding==
 +
 +
The <b>SMS Forwarding</b> tab contains three sections:
 +
 +
<ul>
 +
    <li>[[{{{name}}} SMS Gateway#SMS_Forwarding_To_HTTP|SMS Forwarding To HTTP]]</li>
 +
    <li>[[{{{name}}} SMS Gateway#SMS_Forwarding_To_SMS|SMS Forwarding To SMS]]</li>
 +
    <li>[[{{{name}}} SMS Gateway#SMS_Forwarding_To_Email|SMS Forwarding To Email]]</li>
 +
</ul>
 +
 +
Each of which can be used to set up forwarding of incoming SMS message to either HTTP, email or or another phone number.
    
===SMS Forwarding To HTTP===
 
===SMS Forwarding To HTTP===
 
----
 
----
The SMS Forwarding To HTTP functionality forwards SMS messages to HTTP, using either POST or GET methods.
+
The <b>SMS Forwarding To HTTP</b> functionality forwards received SMS messages to HTTP by using either Post or Get methods. The figure below is an example of the SMS Forwarding To HTTP section and the table below provides information on the configuration fields contained on that section:
   −
[[Image:Services sms gateway forwarding http.PNG]]
+
[[File:{{{file_forwarding_http}}}]]
    
<table class="nd-mantable">
 
<table class="nd-mantable">
 
     <tr>
 
     <tr>
         <th>field name</th>
+
         <th>Field name</th>
       <th>value</th>
+
       <th>Value</th>
       <th>description</th>
+
       <th>Description</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Enable</td>
 
       <td>Enable</td>
       <td>yes | no; Default: '''no'''</td>
+
       <td>yes | no; Default: <b>no</b></td>
 
       <td>Turns SMS Forwarding To HTTP ON or OFF</td>
 
       <td>Turns SMS Forwarding To HTTP ON or OFF</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Forward SMS Utilities rules</td>
 
       <td>Forward SMS Utilities rules</td>
       <td>yes | no; Default: '''no'''</td>
+
       <td>yes | no; Default: <b>no</b></td>
       <td>If enabled, the router will also forward SMS Utilities rules to HTTP</td>
+
       <td>When checked the router will also forward SMS Utilities rules to HTTP (the default action is to not forward SMS messages that SMS Utilities rule)</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Use HTTPS</td>
 
     <td>Use HTTPS</td>
         <td>yes | no; Default: '''no'''</td>
+
         <td>yes | no; Default: <b>no</b></td>
         <td>ses the HTTPS protocol instead of HTTP</td>
+
         <td>Check to use the HTTPS protocol instead of HTTP</td>
 +
    </tr>
 +
    <tr>
 +
    <td>Certificate verification</td>
 +
        <td>Ignore | Verify; Default: <b>Ignore</b></td>
 +
        <td>Indicates whether the server's certificate will be ingored or verified. This field only becomes visible when the 'Use HTTPS' field is checked</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Method</td>
 
     <td>Method</td>
         <td>Post | Get; Default: '''Get'''</td>
+
         <td>Post | Get; Default: <b>Get</b></td>
 
         <td>Defines the HTTP transfer method</td>
 
         <td>Defines the HTTP transfer method</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>URL</td>
 
       <td>URL</td>
       <td>host | ip; Default: " "</td>
+
       <td>host | ip | host:port | ip:port; Default: <b>none</b></td>
       <td>URL address to forward messages to</td>
+
       <td>URL or IP address to which the messages will be forwarded. By default, the router forward messages to the default HTTP port (port 80). To specify a different port add a <b>colon</b> (<b>:</b>) symbol followed by the port number (for example, 192.168.1.1:81) </td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
       <td>Number value name</td>
 
       <td>Number value name</td>
       <td>string; Default: " "</td>
+
       <td>string; Default: <b>none</b></td>
 
       <td>Name to assign to sender’s phone number value in query string</td>
 
       <td>Name to assign to sender’s phone number value in query string</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Message value name</td>
 
     <td>Message value name</td>
         <td>string; Default: " "</td>
+
         <td>string; Default: <b>none</b></td>
 
         <td>Name to assign to message text value in query string</td>
 
         <td>Name to assign to message text value in query string</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Extra data pair 1 / Extra data pair 2</td>
 
     <td>Extra data pair 1 / Extra data pair 2</td>
         <td>string; Default: " "</td>
+
         <td>string; Default: <b></td>
         <td>If you want to transfer some extra information through the HTTP query, enter variable name on the left field and its value on the right</td>
+
         <td>Transfers extra information through the HTTP request. Enter variable name on the left field and its value on the right.<br>For example, when using the Post method, one may enter some static information about the device, like 'Router name' on the left and '{{{name}}}' on the right.<br>This can also be utilized when using the Get method to request data from an HTTP server</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
     <td>Mode</td>
 
     <td>Mode</td>
         <td>All messages | From listed numbers; Default: '''All messages'''</td>
+
         <td>All messages | From listed numbers; Default: <b>All messages</b></td>
         <td>Specifies which messages to forward</td>
+
         <td>Specifies whether all messages should be forwarded or only those received from specific numbers</td>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
     <td>Sneder's phone number</td>
+
     <td>Sender's phone number</td>
         <td>phone number; Default: " "</td>
+
         <td>phone number; Default: <b></td>
         <td>Phone number(s) that will qualify for forwarding. To add more numbers, click the [[Image:Services sms gateway auto reply plus symbol.PNG]] symbol. This field only becomes visible if the chosen Mode is '''From listed numbers'''</td>
+
         <td>Phone number(s) that will qualify for forwarding. To add more numbers, click the [[File:Services sms gateway auto reply plus symbol.PNG]] symbol. This field becomes visible when the "Mode" field value is set to 'From listed numbers'</td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
    +
====Forwarding To HTTP example====
 +
----
 +
This example will atempt to explain how to use the data fields in SMS forwarding to HTTP configuration. The fields in question are Number and Message value name and Extra data pair 1 & 2 fields. The figure below is an example configuration and below it is an eplanation on how it functions:
 +
 +
[[File:{{{file_forwarding_http_example}}}]]
 +
 +
If I configure the router as seen in the image above and send and SMS message to the router containing the text 'Hello', from the number '+37012345678', I should reiceve a message on the specified server that looks like this:
 +
 +
Sender=%2B37012345678&Text=Hello&Name=RUT955&Code=RUT955%20T033C0
 +
 +
Wh
 +
<!--
 
===SMS Forwarding To SMS Configuration===
 
===SMS Forwarding To SMS Configuration===
 
----
 
----

Navigation menu