Asterisk Config

Linux Rockz linuxrockz at gmail.com
Mon Jul 11 15:22:27 EDT 2005


Remember to setup authentication on the asterisk server in
the /etc/asterisk/manager.conf to match argus.

Here is my example


Host "Asterisk-0" {
                hostname:       Asterisk-0.Mydomain.com
                info:
                note:
                details:
               
        user:   asteriskmanager
        pass:   asteriskmanagerpasswd
                        Service Ping {
                                graph:  yes
                                }
                        Service TCP/Asterisk {
                                info:<p>PRI Circuit ID  </p>
                                note:
                                details:
                                cmd:            pri show span 1
                                expect:         Provisioned, Up, Active
                                }
                        Service TCP/Asterisk {
                                info:<p>PRI Circuit ID  </p>
                                note:
                                details:
                                cmd:            pri show span 2
                                expect:         Provisioned, Up, Active
                                }
                        Service TCP/Asterisk {
                                info:<p>PRI Circuit ID  </p>
                                note:
                                details:
                                cmd:            pri show span 3
                                expect:         Provisioned, Up, Active
                                }
                        Service TCP/Asterisk {
                                cmd:            show channels
                                note:
                                details:
                                pluck:          (\d+) active channel
                                graph:          yes
                                title:          Channels In Use
                                }
        # test iax + sip
                        Service UDP/IAX2
                        Service UDP/SIP
                }



More information about the Arguslist mailing list