[asterisk-users] AEL Eswitches

2011-02-09 Thread Thiago Maluf
Hi List,

Would someone can to explain me the main difference in SWITCHES or
ESWITCHES in AEL.

context default {
switches {
 DUNDi/e164;
 IAX2/box5;
};
eswitches {
 IAX2/context@${CURSERVER};
};
};

All the best,
Thiago

-- 

Thiago Maluf Resende
Tel: +55 21 9700-9113
e-mail: malu...@gmail.com

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] AEL Eswitches

2011-02-09 Thread Tilghman Lesher
On Wednesday 09 February 2011 13:31:36 Thiago Maluf wrote:
 Hi List,
 
 Would someone can to explain me the main difference in SWITCHES or
 ESWITCHES in AEL.
 
 context default {
 switches {
  DUNDi/e164;
  IAX2/box5;
 };
 eswitches {
  IAX2/context@${CURSERVER};
 };
 };

A switch evaluates variables at load time.  An eswitch evaluates variables
locally at query time.  An lswitch sends the variables intact through to
the switch backend.

-- 
Tilghman

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users