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: malufrj at gmail.com
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