From 3e3a8c9cb0924c37fce65b42906e79786f38f03c Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 28 Mar 2013 06:40:52 +0000 Subject: [PATCH] Asterisk 1.8 fix in ADMIN keepalive script git-svn-id: svn://192.168.202.10@1946 3d104415-ff17-0410-8863-d5cf3c621b8a --- bin/ADMIN_keepalive_ALL.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ADMIN_keepalive_ALL.pl b/bin/ADMIN_keepalive_ALL.pl index 6a2fec77..edb354a8 100644 --- a/bin/ADMIN_keepalive_ALL.pl +++ b/bin/ADMIN_keepalive_ALL.pl @@ -1965,7 +1965,7 @@ if ( ($active_asterisk_server =~ /Y/) && ($generate_vicidial_conf =~ /Y/) && ($r $Piax .= "host=dynamic\n"; } %ast_ver_str = parse_asterisk_version($asterisk_version); - if (!(( $ast_ver_str{major} = 1 ) && ($ast_ver_str{minor} < 6))) + if (( $ast_ver_str{major} = 1 ) && ($ast_ver_str{minor} < 6)) { $Pext .= "exten => $dialplan[$i],1,Dial(IAX2/$extension[$i]|$phone_ring_timeout[$i]|)\n"; }