aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward.rsc
AgeCommit message (Collapse)AuthorFilesLines
2024-03-12global-functions: $LogPrintOnce: drop support for exitGravatar Christian Hesse1-1/+2
This is not widely adopted or used, so let's just drop it - no compatibility.
2024-03-12sms-forward: drop main function, use :do with on-errorGravatar Christian Hesse1-7/+5
2024-03-12global-functions: $ScriptLock: do not exit from global functionGravatar Christian Hesse1-1/+3
2024-03-12sms-forward: do not exit with errorGravatar Christian Hesse1-1/+2
2024-03-04sms-forward: move code into functionGravatar Christian Hesse1-60/+65
2024-01-30sms-forward: use :jobname to get script nameGravatar Christian Hesse1-1/+3
2024-01-18sms-forward: log warning just onceGravatar Christian Hesse1-1/+2
2024-01-01update copyright for 2024Gravatar Christian Hesse1-1/+1
2023-10-17sms-forward: pass phone number and message to hookGravatar Christian Hesse1-1/+2
These are available as $Phone and $Message in hook.
2023-08-18sms-forward: drop RouterOS version dependencyGravatar Christian Hesse1-2/+0
... as global-functions depend on RouterOS 7.9beta already.
2023-04-26sms-forward: drop workaround, add required RouterOSrouteros-7.9beta4-4Gravatar Christian Hesse1-11/+2
2023-03-28sms-forward: check that the interface is runningGravatar Christian Hesse1-0/+4
2023-03-24sms-forward: disable workaround for ROS 7.9beta4routeros-7.9beta4-1Gravatar Christian Hesse1-1/+2
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-23sms-forward: add workaround to fix removal of messagesrouteros-7.8Gravatar Christian Hesse1-0/+10
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-07rename scripts and add file extension ".rsc"change-95Gravatar Christian Hesse1-0/+84
No functional change for the user... The migration is done automatically.