26.09.2025, 13:34
Make sure that the number is specified in the script the same way as in the alert between [].
Modify the handler function in the resident script as follows and post what you get in Logs tab:
For on/off use 0/1 or true/false.
Modify the handler function in the resident script as follows and post what you get in Logs tab:
Code:
handler = function(sms)
-- sms from known number, call parser
if table.contains(numbers, sms.sender) then
log('incoming sms', sms.sender, sms.data)
parser(sms.data, sms.sender)
else
log('unknown number', sms.sender)
end
end
For on/off use 0/1 or true/false.