From: Leif Madsen Date: Tue, 16 Mar 2010 18:46:20 +0000 (+0000) Subject: Additional extensions.ael global variable fixes. X-Git-Tag: 1.4.31-rc1~2^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e30b3eafc46a14f8650abf2dbdcd4a738a1b92d;p=thirdparty%2Fasterisk.git Additional extensions.ael global variable fixes. Fixing up a couple more overlapping global variable namespaces shared with extensions.conf.sample. Also noticed a few of the lines that were commented out didn't have the closing semi-colon so I added that as well. (issue #17035) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@252761 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/configs/extensions.ael.sample b/configs/extensions.ael.sample index 18de98fbc5..5ed2a59d94 100644 --- a/configs/extensions.ael.sample +++ b/configs/extensions.ael.sample @@ -27,11 +27,11 @@ // NOTE! NOTE! NOTE! globals { - CONSOLE="Console/dsp"; // Console interface for demo - //CONSOLE=Zap/1 - //CONSOLE=Phone/phone0 - IAXINFO=guest; // IAXtel username/password - //IAXINFO="myuser:mypass"; + CONSOLE-AEL="Console/dsp"; // Console interface for demo + //CONSOLE-AEL=Zap/1; + //CONSOLE-AEL=Phone/phone0; + IAXINFO-AEL=guest; // IAXtel username/password + //IAXINFO-AEL="myuser:mypass"; OUTBOUND-TRUNK="Zap/g2"; // Trunk interface // // Note the 'g2' in the OUTBOUND-TRUNK variable above. It specifies which group (defined @@ -48,7 +48,7 @@ globals { // time (aka. descending rotary hunt group). // OUTBOUND-TRUNKMSD=1; // MSD digits to strip (usually 1 or 0) - //TRUNK=IAX2/user:pass@provider + //OUTBOUND-TRUNK2=IAX2/user:pass@provider; }; // @@ -194,7 +194,7 @@ macro ael-dundi-e164(exten) { // up, please go to www.gnophone.com or www.iaxtel.com // context ael-iaxtel700 { - _91700XXXXXXX => Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel); + _91700XXXXXXX => Dial(IAX2/${IAXINFO-AEL}@iaxtel.com/${EXTEN:1}@iaxtel); }; //