2006-04-14_snapshot
git-svn-id: svn://192.168.202.10@3 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# AST_update.pl version 1.1.9 (build 60117-1202)
|
||||
# AST_update.pl version 1.1.11 (build 60411-1032)
|
||||
#
|
||||
# DESCRIPTION:
|
||||
# uses the Asterisk Manager interface and Net::MySQL to update the live_channels
|
||||
@@ -47,9 +47,10 @@
|
||||
# 50829-1134 - Added processor percentage usage to stat collection
|
||||
# 51229-1355 - Added ability to take ! as delimited for 1.2 show channels concise
|
||||
# 60117-1202 - Changed IAX2 client phone channel to reflect change to '-' iteration
|
||||
# 60411-1032 - Fixed bug in test section that caused crash with ** in extension
|
||||
#
|
||||
|
||||
$build = '60117-1202';
|
||||
$build = '60411-1032';
|
||||
|
||||
# constants
|
||||
$SYSPERF=0; # system performance logging to MySQL server_performance table every 5 seconds
|
||||
@@ -326,7 +327,17 @@ if (!$telnet_port) {$telnet_port = '5038';}
|
||||
}
|
||||
else
|
||||
{
|
||||
@test_chan_12 = split(/:/, $test_channels[$s]);
|
||||
$EXcount = 0;
|
||||
$EXcount = @{[$test_channels[$s] =~ /\!/g]};
|
||||
if ($EXcount > 10)
|
||||
{
|
||||
@test_chan_12 = split(/\!/, $test_channels[$s]);
|
||||
}
|
||||
else
|
||||
{
|
||||
@test_chan_12 = split(/:/, $test_channels[$s]);
|
||||
}
|
||||
# @test_chan_12 = split(/:/, $test_channels[$s]);
|
||||
if (length($test_chan_12[6])<2) {$test_chan_12[6] = 'SIP/ring';}
|
||||
$test_channels[$s] = "$test_chan_12[0] $test_chan_12[6]";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user