My customer requests us to send the UIM alarm to sms gateway through the provided SMS URL.
Here is the SMS URL:
I have created a script in NAS alarm like this:
a = alarm.get()
cmd1 = equals(a.hostname.."("..a.source.."), Severity:"..a.severity..", Message:"..a.message)
cmd2 = "start "..space("http://***.***.***.***/cauim_dev/Sendsms?param="..cmd1.."^&toNumber=0812800XXXXX^&apiKey=ShinhANnegaBaro")
After I executed that script, there was an activity was logged in Activity Log like this:
Waiting for more than 5 minutes, but I was not receiving a SMS from the executed script.
Then, I tried to run the activity value in browser and here is the return value:
Once I executed it from browser, I received the SMS as expected.
Can somebody advise me, why the alarm was not sending SMS once I executed it from NAS alarm? What I missed in my script?