Need scripts/database to monitor asterisk there will be few items involved. PLease note that there are plenty of scripts that do this that are open source but most are perl, which I cant use for 1 or 2 can use for #3.
1- client asterisk- shell script (sh not bash) to monitor iax2 and sip registery if registeration failure then send a alert to a web app which also needs to be made. should be run every 3 minutes. data should be sent with eth0 address-iax or sip user id.
2- client side- shell script which would be run as 1 of the routes for example after trying 2 routes something like this to alert the web app. exten => _XXXXX.,n,System(/usr/opt/callfailalert.sh&) so this way know when routes have a problem.
3- on the central asterisk similar script as 1 to monitor sip registery and iax2 registery. and also 2 monitoring route failures. This should be run ever 3 minutes. #3 can be AMI or shell script based.
all the data should be sent to a standalone web server (debian LAMP environment)
al the data received from asterisk servers should go into db.
there should be a web app, to view all the alerts in realtime, page should be refreshing constantly or app based to continuously pull data from db.
there should also be a report to see failure of registrations for a specific user or all users, and route failure report for a specific user or route. with x to y date.
DO need this quickly.
helpful to have asterisk experience.