automated.it

automating, building and graphing the world

 
 

aline
Asterisk PBX
anotherline

I've been working on things for Asterisk for a bit now, below is a prototype Asterisk monitor with some information, or you can check out the guide which might help you get started.

I've also made some modifications to the manager interface so that I can check the state of the cards to see if there are any alarms on them. The modified code is here but there are a couple of things you need to be aware of:

First of all you MUST download and compile zaptel from cvs even if you don;t have a zaptel card. The reason is pretty clear, some of the zaptel headers are needed. If you aren't using zatpel cards then this will be of no use to you. To use the patched application from the manager interface (after logging in) do:

Action: Alarms
Span: 1

Card spans start at 1 and go up...

  * New * Now with either Moooo (cow) or Rarrrr (lion) alarm sound - and soon Baaaa (sheep)!


A few extra things that are going to be added to the monitor are speed dial buttons, and a panic button. Essentially the panic button is just another speed dial,however, under normal circumstances would be wired to an easily accesible location. The panic button could be used in a number of situations, for example in a shop to call out for help in the event of a robbery etc, or for the elderly and/or infirm to request assistance.

In the end I'm expecting this to be a desk unit - especially if you have a VoIP phone that has 2 ethernet ports on the back... I'm also thinking about a wall mount unit, probably without the speed dials but with the panic button...Panic button has now been added in hardware and to the web config frontend show below..

I've recently been asked, "Why? Why have a box for speed dial? Most phones have them, even analog ones". This is, of course, true. However, I challenge you to try and dial a SIP address from your analog phone. All well and good if you set it up in asterisk, but you don't want users messing with Asterisk configs now, do you?

Asterisk Monitor


Here's the completed board:




The prototype:



The web config frontend: