This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Allert manager message REACTOR
#1
Hello

I use the alert manager on a LM REACTOR, and the messages from the mobile operator are also displayed in the alerts, how can I avoid this?

Thank you
Reply
#2
Edit SMS resident script and add -- before alert() calls.
Reply
#3
(06.05.2021, 06:41)admin Wrote: Edit SMS resident script and add -- before alert() calls.
I not have this entry but this

Code:
  handler = function(sms)
    --alert('incoming sms: [%s] %s', tostring(sms.sender), tostring(sms.data))
    -- sms from known number, call parser
    if table.contains(numbers, sms.sender) then
      parser(sms.data, sms.sender)
    end


I comment this ?
Reply
#4
Yes
Reply
#5
(06.05.2021, 06:53)admin Wrote: Yes

thank so much
Reply
#6
Don't forget to restart the script via Disable/Enable. Otherwise these changes won't be applied.
Reply


Forum Jump: