aboutsummaryrefslogtreecommitdiffstats
path: root/sms-forward.rsc
AgeCommit message (Expand)AuthorFilesLines
14 dayssms-forward: use $ExitError to indicate unintentional errorGravatar Christian Hesse1-1/+7
2024-07-16bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.14 anyway. Gravatar Christian Hesse1-1/+1
2024-04-07bump RouterOS requirement for all scripts and modules...•••... now that global-functions requires RouterOS 7.13 anyway. routeros-7.13-6Gravatar Christian Hesse1-1/+1
2024-03-12sms-forward: switch to $LogPrintGravatar Christian Hesse1-11/+7
2024-03-12global-functions: $LogPrintOnce: drop support for exit•••This is not widely adopted or used, so let's just drop it - no compatibility. Gravatar Christian Hesse1-1/+2
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 hook•••These are available as $Phone and $Message in hook. Gravatar Christian Hesse1-1/+2
2023-08-18sms-forward: drop RouterOS version dependency•••... as global-functions depend on RouterOS 7.9beta already. Gravatar Christian Hesse1-2/+0
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.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. routeros-7.9beta4-1Gravatar Christian Hesse1-1/+2
2023-03-23sms-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. 🤨 routeros-7.8Gravatar Christian Hesse1-0/+10
2023-03-07rename scripts and add file extension ".rsc"•••No functional change for the user... The migration is done automatically. change-95Gravatar Christian Hesse1-0/+84