Commit graph

7 commits

Author SHA1 Message Date
Christian Hesse
5fbf584d4c sms-forward: pass phone number and message to hook
These are available as $Phone and $Message in hook.
2023-10-17 14:05:03 +02:00
Christian Hesse
25d40688f7 sms-forward: drop RouterOS version dependency
... as global-functions depend on RouterOS 7.9beta already.
2023-08-18 15:23:20 +02:00
Christian Hesse
1f1e76b822 sms-forward: drop workaround, add required RouterOS 2023-04-26 10:31:23 +02:00
Christian Hesse
742c239629 sms-forward: check that the interface is running 2023-03-28 11:42:58 +02:00
Christian Hesse
4f722bc2c9 sms-forward: disable workaround for ROS 7.9beta4
The issue has been acknowledged by Mikrotik, but the cause is still
unknown as the sms code did not change since RouterOS 7.6...

Well, looks like the behavior changes again with RouterOS 7.9beta4, and
everything works as expected again. So disable the workaround there.
2023-03-24 20:11:29 +01:00
Christian Hesse
eab87e4d60 sms-forward: add workaround to fix removal of messages
Removal of messages is broken in RouterOS 7.8:

[admin@MikroTik] > /tool/sms/inbox/remove [ find ]
failure: Interface not running!

Of course the interface is running. Toggling the auto-erase setting
fixes this until next boot. So let's add a workaround...

Reported to support (SUP-110828), but not (yet) acknowledged. 🤨
2023-03-23 13:59:55 +01:00
Christian Hesse
a832fd04ef rename scripts and add file extension ".rsc"
No functional change for the user... The migration is done
automatically.
2023-03-07 22:26:01 +01:00