<br><br><div class="gmail_quote">On Tue, Aug 28, 2012 at 8:28 AM, Babak Yakhchali <span dir="ltr">&lt;<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
thanx<div>problem is I need to execute it on bleg, where the variables are not set. I tried</div><div><div>session:setVariable(&#39;bridge_pre_execute_bleg_app&#39;,&#39;set_user&#39;)<span style="white-space:pre-wrap">        </span>session:setVariable(&#39;bridge_pre_execute_bleg_data&#39;,dn)</div>

</div><div>but it is not working until the b leg answers.</div><br></blockquote><div><br>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&#39;t have a b-leg CDR in that case, do you?<br>
<br>-MC <br></div></div>