Hello,
I apologize in advance for being a noob! Any way what I want to do is create a script to run sip show peers and iax2 show peers to monitor if any of the connections are unreachable. I would then like an email generated to me indicated that a device is unreachable. I have PBX in a Flash installed with Centos 5.2.
I have seen a couple of other scripts out there but they run Sip Show Registry and when I run that command on my machine, nothing is listed. I tried modifying the script, but unsuccessfully.
I also tried creating a script and using the trunk monitor from the GUI to no avail.
I am really at my wits end. I need this monitoring in place before my boss returns.
Any insight would be greatly appreciated in pushing me in the right direction.
I apologize in advance for being a noob! Any way what I want to do is create a script to run sip show peers and iax2 show peers to monitor if any of the connections are unreachable. I would then like an email generated to me indicated that a device is unreachable. I have PBX in a Flash installed with Centos 5.2.
I have seen a couple of other scripts out there but they run Sip Show Registry and when I run that command on my machine, nothing is listed. I tried modifying the script, but unsuccessfully.
I also tried creating a script and using the trunk monitor from the GUI to no avail.
I am really at my wits end. I need this monitoring in place before my boss returns.
Any insight would be greatly appreciated in pushing me in the right direction.