[asterisk-users] AEL Eswitches

Tilghman Lesher tilghman at meg.abyt.es
Wed Feb 9 19:03:07 CST 2011


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



More information about the asterisk-users mailing list