Ad Widget

Collapse

Sending Notifications via Asterisk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rhettich
    Junior Member
    • Dec 2007
    • 6

    #1

    Sending Notifications via Asterisk

    Greettings, I am looking for a way to send notifications via SIP / Asterisk, does any one have a script for this?
  • rbenea
    Member
    • Apr 2008
    • 35

    #2
    Hi,

    I don't have a script but we can make one. What do you need?

    Rares

    Comment

    • rhettich
      Junior Member
      • Dec 2007
      • 6

      #3
      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.

      Comment

      • rts
        Member
        • May 2007
        • 54

        #4
        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

        Comment

        • rhettich
          Junior Member
          • Dec 2007
          • 6

          #5
          I understand the Asterisk side, need to understand how to tell Zabbix when to drop the file in btw I am Zabbix newbie.

          Comment

          • terry
            Junior Member
            • Mar 2009
            • 21

            #6
            Check the documentation for the system.run macro. Use that in the action.

            Comment

            • rts
              Member
              • May 2007
              • 54

              #7
              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

              Comment

              • bbrendon
                Senior Member
                • Sep 2005
                • 870

                #8
                I documented some of this and ended up implemented this extensively a few years ago.
                http://www.zabbix.com/wiki/doku.php?...susingasterisk
                Unofficial Zabbix Expert
                Blog, Corporate Site

                Comment

                Working...