calling phone via script

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Drefk2000
Posts: 2
Joined: Tue Aug 17, 2021 12:44 am

calling phone via script

Post by Drefk2000 »

Im trying to use a HWg-SMS-GW3 to call a phone using the notify-poseidon-call.pl script.
I get no error message, but also no call.

I trigger it with ./notify-poseidon-call.pl -H <IP to Hwg> -D <phonenumber> -q

It work great sending SMS with notify-poseidon-sms.pl


Any ideas?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: calling phone via script

Post by mcapra »

You're using the script provided by the vendor I assume?
https://www.hw-group.com/support/how-to ... wg-sms-gw3

Try passing -v for verbose instead of -q for quiet, that might provide some hints.
Former Nagios employee
https://www.mcapra.com/
Drefk2000
Posts: 2
Joined: Tue Aug 17, 2021 12:44 am

Re: calling phone via script

Post by Drefk2000 »

I gave up and took a much simpler way :)

w3m "http://<IP>/values.xml?Cmd=Call&Nmr=<PhoneNumber>" >/dev/null
Locked