Summary:ASTERISK-05870: iax/sip status sent to a proc
Reporter:Philip Mullis (asteriskmonkey)Labels:
Date Opened:2005-12-19 13:44:47.000-0600Date Closed:2005-12-20 13:02:40.000-0600
Versions:Frequency of
Description:would be nice to get sip and iax/iax2 connection latency status sent to a proc for ease of refernce for making programs aware of bad latency and notification
would be a good feature especially for those with distributed offices.
some possilbe uses are

1) notification of bad network connections automatically
2) use this information to change pathways/routing to endpoints
Comments:By: Olle Johansson (oej) 2005-12-20 06:05:06.000-0600

You already get this in manager as well as through dial plan functions. Are you looking for something else?

By: Philip Mullis (asteriskmonkey) 2005-12-20 06:29:19.000-0600

Yes this is definatly something else :)

The purpose of this would be to output it to a process , which could be then monitored/used by anything, without the need for logging into asterisk. (by proc i mean something like /proc/uptime

This would allow creation of external monitoring scripts that could be run by a cronjob to enhance quality control of client connections and enable monitoring/reporting of latency issues.

By: Russell Bryant (russell) 2005-12-20 13:02:27.000-0600

As oej has already stated, you can get this information with the combination of a diaplan function and the manager interface.  This should be enough to suit your specific needs.  Something like this is obviously very specific to Linux, so it is probably not a path we would want to take.