routeros-scripts/doc/sms-forward.md

49 lines
1.1 KiB
Markdown
Raw Normal View History

2020-03-27 20:50:27 +00:00
Forward received SMS
====================
[◀ Go back to main README](../README.md)
> **Info**: This script can not be used on its own but requires the base
2022-02-11 22:34:39 +00:00
> 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](sms-forward.d/notification.svg)
2021-06-17 13:23:51 +00:00
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;
2020-03-27 20:50:27 +00:00
Configuration
-------------
2021-11-16 15:03:25 +00:00
Notification settings are required for e-mail,
[matrix](mod/notification-matrix.md) and/or
2021-11-16 15:03:43 +00:00
[telegram](mod/notification-telegram.md). Also you have to enable receiving
of SMS:
/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)