Subject: Asterisk Config

From: Linux Rockz <[email-masked]>
Date: Mon, 11 Jul 2005 13:22:27 -0600

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
                }