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

Gabriel Gunderson gabe at gundy.org
Tue Sep 18 09:08:22 MSD 2012


On Tue, Aug 28, 2012 at 9:28 AM, Babak Yakhchali
<babak.freeswitch at gmail.com> wrote:
> 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.

What about this?

bridge(
[execute_on_originate=set_user::SOMEUSER at DOMAIN]  user/SOMEUSER at DOMAIN
)

...or something.

Best,
Gabe



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