[Freeswitch-users] directory variables not set on user channels when bridge does not succeed

Michael Collins msc at freeswitch.org
Tue Aug 28 22:05:20 MSD 2012


On Tue, Aug 28, 2012 at 8:28 AM, Babak Yakhchali <babak.freeswitch at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120828/303416f8/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list