From 1566a8757ae5a371e134432945eb6f266b43c7ab Mon Sep 17 00:00:00 2001 From: mattf Date: Mon, 9 Nov 2009 17:07:35 +0000 Subject: [PATCH] Added requirecalltoken=no as IAX setting for newer Asterisk 1.4 versions git-svn-id: svn://192.168.202.10@1255 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl index df2b26a5..c3323cb8 100644 --- a/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl +++ b/agc_2-X/trunk/bin/ADMIN_keepalive_ALL.pl @@ -44,6 +44,7 @@ # 90919-1516 - Added generation of standalone voicemail boxes in voicemail conf file # 91028-1023 - Added clearing of daily-reset tables at the timeclock reset time # 91031-1258 - Added carrier description comments +# 91109-1205 - Added requirecalltoken=no as IAX setting for newer Asterisk 1.4 versions # $DB=0; # Debug flag @@ -854,6 +855,7 @@ if ( ($active_asterisk_server =~ /Y/) && ($generate_vicidial_conf =~ /Y/) && ($r $Liax .= "accountcode=IAX$server_id[$i]\n"; $Liax .= "secret=test\n"; $Liax .= "type=friend\n"; + $Liax .= "requirecalltoken=no\n"; $Liax .= "context=default\n"; $Liax .= "auth=plaintext\n"; $Liax .= "host=dynamic\n"; @@ -1123,6 +1125,7 @@ if ( ($active_asterisk_server =~ /Y/) && ($generate_vicidial_conf =~ /Y/) && ($r $Piax .= "secret=$conf_secret[$i]\n"; $Piax .= "callerid=\"$fullname[$i]\" <$outbound_cid[$i]>\n"; $Piax .= "mailbox=$voicemail[$i]\n"; + $Piax .= "requirecalltoken=no\n"; $Piax .= "context=$phone_context[$i]\n"; $Piax .= "type=friend\n"; $Piax .= "auth=md5\n";