Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

socain

Reviews(1)
bysocain, March 14, 2012
If you send the right parameters and configure asterisk manager account it works great. It broke after an upgrade to asterisk 1.8.9 because they take out the word "Provisioned" in "pri show spans", so had to add the following code:

else if( strpos( $segment, "Up, Active" ) !== FALSE )
$lines[$count]['up'] = 1;


Just after the existing section/code:

if( strpos( $segment, "Provisioned, Up, Active" ) !== FALSE )
$lines[$count]['up'] = 1;