On Tue, Aug 28, 2012 at 8:28 AM, Babak Yakhchali <babak.freeswitch@gmail.com> wrote:
thanx
problem is I need to execute it on bleg, where the variables are not set. I tried
session:setVariable('bridge_pre_execute_bleg_app','set_user') session:setVariable('bridge_pre_execute_bleg_data',dn)
but it is not working until the b leg answers.


Yeah, I can see the trouble with setting channel variables on a channel that does not exist. Question: what happens when there is no b leg, i.e., when the called party does not answer? You don't have a b-leg CDR in that case, do you?

-MC