View Full Version : Sending Notifications via Asterisk
rhettich
25-03-2009, 03:49
Greettings, I am looking for a way to send notifications via SIP / Asterisk, does any one have a script for this?
Hi,
I don't have a script but we can make one. What do you need?
Rares
rhettich
25-03-2009, 13:56
given a specific trigger/event Zabbix could initiate a call to either a internal or external Asterisk server. I suspect this could be done using the Asterisk call files.
It's pretty straight forward - drop a file in /var/spool/asterisk/outgoing as per the instructions at http://www.voip-info.org/wiki-Asterisk+auto-dial+out
rhettich
28-03-2009, 15:27
I understand the Asterisk side, need to understand how to tell Zabbix when to drop the file in btw I am Zabbix newbie.
Check the documentation for the system.run macro. Use that in the action.
Or, use a slight variation on what's described at http://www.zabbix.com/wiki/doku.php?id=howto:smsapi
That explains how to run a custom script when a trigger fires. Just change that script to create the call file, rather than sending an SMS.
rts
bbrendon
31-03-2009, 00:00
I documented some of this and ended up implemented this extensively a few years ago.
http://www.zabbix.com/wiki/doku.php?id=contrib:notificationsusingasterisk