diff options
author | lmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-15 20:46:47 +0000 |
---|---|---|
committer | lmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-03-15 20:46:47 +0000 |
commit | c05eef13aaaf73bb791a5effdcef8262f16945aa (patch) | |
tree | 07ce4ebf00b7c62487e671bed0334ab21f450292 /configs | |
parent | e156997d5770ad2bce60168da941388e6ad42488 (diff) |
Revert last commit that had bad changed to configure.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@252532 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r-- | configs/extensions.ael.sample | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/configs/extensions.ael.sample b/configs/extensions.ael.sample index 18de98fbc..ab8cdd854 100644 --- a/configs/extensions.ael.sample +++ b/configs/extensions.ael.sample @@ -18,23 +18,15 @@ // function: ${ENV(VARIABLE)} // -// NOTE! NOTE! NOTE! -// Asterisk by default will load both extensions.conf and extensions.ael files. -// Upon loading these files the dialplans generated from both with be merged, -// so you must make sure that you don't have any overlapping contexts or global -// variables. If you do, then unexpected behavior may result when the data is -// merged. -// 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"; - OUTBOUND-TRUNK="Zap/g2"; // Trunk interface + TRUNK="Zap/g2"; // Trunk interface // - // Note the 'g2' in the OUTBOUND-TRUNK variable above. It specifies which group (defined + // Note the 'g2' in the TRUNK variable above. It specifies which group (defined // in chan_dahdi.conf) to dial, i.e. group 2, and how to choose a channel to use in // the specified group. The four possible options are: // @@ -47,7 +39,7 @@ globals { // R: use a round-robin search, starting at the next lowest channel than last // time (aka. descending rotary hunt group). // - OUTBOUND-TRUNKMSD=1; // MSD digits to strip (usually 1 or 0) + TRUNKMSD=1; // MSD digits to strip (usually 1 or 0) //TRUNK=IAX2/user:pass@provider }; @@ -218,7 +210,7 @@ context ael-trunkint { }; _9011. => { &ael-dundi-e164(${EXTEN:4}); - Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); + Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); }; }; @@ -231,7 +223,7 @@ context ael-trunkld { }; _91NXXNXXXXXX => { &ael-dundi-e164(${EXTEN:1}); - Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); + Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); }; }; @@ -240,7 +232,7 @@ context ael-trunklocal { // Local seven-digit dialing accessed through trunk interface // _9NXXXXXX => { - Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); + Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); }; }; @@ -249,10 +241,10 @@ context ael-trunktollfree { // Long distance context accessed through trunk interface // - _91800NXXXXXX => Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); - _91888NXXXXXX => Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); - _91877NXXXXXX => Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); - _91866NXXXXXX => Dial(${OUTBOUND-TRUNK}/${EXTEN:${OUTBOUND-TRUNKMSD}}); + _91800NXXXXXX => Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); + _91888NXXXXXX => Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); + _91877NXXXXXX => Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); + _91866NXXXXXX => Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}); }; context ael-international { |