]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Additional extensions.ael global variable fixes.
authorLeif Madsen <leif@leifmadsen.com>
Tue, 16 Mar 2010 18:46:20 +0000 (18:46 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Tue, 16 Mar 2010 18:46:20 +0000 (18:46 +0000)
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

configs/extensions.ael.sample

index 18de98fbc59fb0235a3da7396e43e8feeb1b11f6..5ed2a59d94fee2b9a21a13f89384dedef8f89104 100644 (file)
 // 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);
 };
 
 //