2020-03-27 20:50:27 +00:00
|
|
|
Forward received SMS
|
|
|
|
====================
|
|
|
|
|
|
|
|
[◀ Go back to main README](../README.md)
|
|
|
|
|
2021-05-03 13:07:50 +00:00
|
|
|
🛈 This script can not be used on its own but requires the base installation.
|
|
|
|
See [main README](../README.md) for details.
|
|
|
|
|
2020-03-27 20:50:27 +00:00
|
|
|
Description
|
|
|
|
-----------
|
|
|
|
|
|
|
|
RouterOS can receive SMS. This script forwards SMS as notification.
|
|
|
|
|
|
|
|
A broadband interface with SMS support is required.
|
|
|
|
|
2021-06-17 13:23:51 +00:00
|
|
|
### Sample notification
|
|
|
|
|
|
|
|
![sms-forward notification](notifications/sms-forward.svg)
|
|
|
|
|
2020-03-27 20:50:27 +00:00
|
|
|
Requirements and installation
|
|
|
|
-----------------------------
|
|
|
|
|
|
|
|
Just install the script:
|
|
|
|
|
|
|
|
$ScriptInstallUpdate sms-forward;
|
|
|
|
|
|
|
|
... and add a scheduler to run it periodically:
|
|
|
|
|
|
|
|
/ system scheduler add interval=2m name=sms-forward on-event="/ system script run sms-forward;" start-time=startup;
|
|
|
|
|
|
|
|
Configuration
|
|
|
|
-------------
|
|
|
|
|
2021-05-28 15:30:37 +00:00
|
|
|
Notification settings are required for e-mail, matrix and/or telegram. Also
|
|
|
|
you have to enable receiving of SMS:
|
2020-05-17 20:36:30 +00:00
|
|
|
|
|
|
|
/ tool sms set receive-enabled=yes;
|
2020-03-27 20:50:27 +00:00
|
|
|
|
|
|
|
See also
|
|
|
|
--------
|
|
|
|
|
|
|
|
* [Act on received SMS](sms-action.md)
|
|
|
|
|
|
|
|
---
|
|
|
|
[◀ Go back to main README](../README.md)
|
|
|
|
[▲ Go back to top](#top)
|