[Freeswitch-users] how to export variables from b-leg to a-leg?

rentmycoder rentmycoder rentmycoder at gmail.com
Fri Mar 19 06:01:11 PDT 2010


Hi guys,
Freeswitch Rocks!

Does anybody know how to export variables from the b-leg to a-leg...
I start a bridge from lua on an outgoing gateway and on the answer of
the b-leg I would like to set a variable on the a-leg...

<action application="export" data="nolocal:execute_on_answer=lua
cc.lua extensions_answer ${uuid}"/>
<bridge ....>

from cc.lua I try:
session:execute("export", "foo=123");

but no success...
any hint?




More information about the FreeSWITCH-users mailing list