diff --git a/plugins/asterisk/asterisk b/plugins/asterisk/asterisk index 938bbbdd..da633741 100755 --- a/plugins/asterisk/asterisk +++ b/plugins/asterisk/asterisk @@ -30,15 +30,15 @@ This plugin will produce multiple graphs showing: The following configuration parameters are used by this plugin [asterisk] - env.host - hostname to connect to - env.port - port number to connect to - env.username - username used for authentication - env.secret - secret used for authentication - env.channels - The channel types to look for - env.codecsx - List of codec IDs (hexadecimal values) - env.codecs - List of codecs names, matching codecsx order - env.meetme - Set to 1 to enable graphs for the MeetMe application - env.confbridge - Set to 1 to enable graphs for the ConfBridge application + env.host - hostname to connect to + env.port - port number to connect to + env.username - username used for authentication + env.secret - secret used for authentication + env.channels - The channel types to look for + env.codecsx - List of codec IDs (hexadecimal values) + env.codecs - List of codecs names, matching codecsx order + env.enable_meetme - Set to 1 to enable graphs for the MeetMe application + env.enable_confbridge - Set to 1 to enable graphs for the ConfBridge application The "username" and "secret" parameters are mandatory, and have no defaults. @@ -51,8 +51,8 @@ defaults. env.channels Zap IAX2 SIP env.codecsx 0x2 0x4 0x8 env.codecs gsm ulaw alaw - env.meetme 0 - env.confbridge 1 + env.enable_meetme 0 + env.enable_confbridge 1 =head2 WILDCARD CONFIGURATION @@ -126,8 +126,8 @@ my @CHANNELS = exists $ENV{'channels'} ? split ' ',$ENV{'channels'} : qw(Zap IAX my @CODECS = exists $ENV{'codecs'} ? split ' ',$ENV{'codecs'} : qw(gsm ulaw alaw); my @CODECSX = exists $ENV{'codecsx'} ? split ' ',$ENV{'codecsx'} : qw(0x2 0x4 0x8); -my $meetme_enabled = $ENV{'meetme'} || '0'; -my $confbridge_enabled = $ENV{'confbridge'} || '1'; +my $meetme_enabled = $ENV{'enable_meetme'} || '0'; +my $confbridge_enabled = $ENV{'enable_confbridge'} || '1'; my $line, my $error; my $socket = new IO::Socket::INET(PeerAddr => $peeraddr,