sms-forward: support hooks

This commit is contained in:
Anatoly Bubenkov 2022-11-03 23:43:08 +01:00 committed by Christian Hesse
parent 88b34cfb39
commit ea09a18d3f
5 changed files with 60 additions and 1 deletions

View file

@ -147,6 +147,14 @@
# add more here...
};
# Run commands by hooking into SMS forward.
:global SmsForwardHooks {
{ match="magic string";
allowed-number="12345678";
command="/system/script/run ..." };
# add more here...
};
# This is the address used to send gps data to.
:global GpsTrackUrl "https://example.com/index.php";