Line 45: |
Line 45: |
| <tr> | | <tr> |
| <td>View mobile messages list</td> | | <td>View mobile messages list</td> |
− | <td>http://<span style="color: black;"><b>192.168.1.1</b></span>/cgi-bin/<b>sms_list</b>?<b>username</b>=user1&<b>password</b>=user_pass</td> | + | <td>http://<span style="color: black;">192.168.1.1</span>/cgi-bin/sms_list?username=user1&password=user_pass</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Read mobile message</td> | | <td>Read mobile message</td> |
− | <td>http://<span style="color: black;"><b>192.168.1.1</b></span>/cgi-bin/<b>sms_read</b>?<b>username</b>=user1&<b>password</b>=user_pass&<b>number</b>=1</td> | + | <td>http://<span style="color: black;">192.168.1.1</span>/cgi-bin/sms_read?username=user1&password=user_pass&number=1</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Send mobile message</td> | | <td>Send mobile message</td> |
− | <td>http://<span style="color: black;"><b>192.168.1.1</b></span>/cgi-bin/<b>sms_send</b>?<b>username</b>=user1&<b>password</b>=user_pass&<b>number</b>=0037060000001&<b>text</b>=testmessage</td> | + | <td>http://<span style="color: black;">192.168.1.1</span>/cgi-bin/sms_send?username=user1&password=user_pass&number=0037060000001&text=testmessage</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>View mobile messages total</td> | | <td>View mobile messages total</td> |
− | <td>http://<span style="color: black;"><b>192.168.1.1</b></span>/cgi-bin/<b>sms_total</b>?<b>username</b>=user1&<b>password</b>=user_pass</td> | + | <td>http://<span style="color: black;">192.168.1.1</span>/cgi-bin/sms_total?username=user1&password=user_pass</td> |
| </tr> | | </tr> |
| <tr> | | <tr> |
| <td>Delete mobile message</td> | | <td>Delete mobile message</td> |
− | <td>http://<span style="color: black;"><b>192.168.1.1</b></span>/cgi-bin/<b>sms_delete</b>?<b>username</b>=user1&<b>password</b>=user_pass&<b>number</b>=1</td> | + | <td>http://<span style="color: black;">192.168.1.1</span>/cgi-bin/sms_delete?username=user1&password=user_pass&number=1</td> |
| </tr> | | </tr> |
| </table> | | </table> |
| | | |
| <ul> | | <ul> |
− | <li>192.168.1.1 - router's IP address. (Replace it with your [[{{{name}}}_LAN#General_Setup|LAN IP]] or [[{{{name}}}_WAN#Operation_Modes|WAN IP]] (when connecting remotely))</li> | + | <li><b>192.168.1.1</b> - router's IP address. (Replace it with your [[{{{name}}}_LAN#General_Setup|LAN IP]] or [[{{{name}}}_WAN#Operation_Modes|WAN IP]] (when connecting remotely))</li> |
| <li>SMS related post/get commands. Possible values are: | | <li>SMS related post/get commands. Possible values are: |
| <ul> | | <ul> |
Line 76: |
Line 76: |
| </ul> | | </ul> |
| </li> | | </li> |
− | <li>username - SMS post/get configuration user name</li> | + | <li><b>&</b> - separation symbol. After specifying the SMS command, other parameters must be separated by an <i>ampersand</i> (<i>&</i>) symbol</li> |
− | <li>password - SMS post/get configuration password</li> | + | <li><b>username</b> - SMS post/get configuration user name</li> |
− | <li>number - SMS message index or (depending on context) recipient's phone number. SMS message indexes can be viewed with the <i>sms_list</i> command.<br>Phone number format is: | + | <li><b>password</b> - SMS post/get configuration password</li> |
| + | <li><b>number</b> - SMS message index or (depending on context) recipient's phone number. SMS message indexes can be viewed with the <i>sms_list</i> command.<br>Phone number format is: |
| <ul> | | <ul> |
| <li><i>00</i> - number must be preceded by two zeros</li> | | <li><i>00</i> - number must be preceded by two zeros</li> |
Line 86: |
Line 87: |
| For example, a valid number would be <b>0037012345678</b> (370 is country code and 12345678 is the receiver's phone number) | | For example, a valid number would be <b>0037012345678</b> (370 is country code and 12345678 is the receiver's phone number) |
| </li> | | </li> |
− | <li>text - SMS message text</li> | + | <li><b>text</b> - SMS message text</li> |
| </ul> | | </ul> |
| <!-- | | <!-- |