Hi everybody!
I'm executing a script with exec_on_answer and exec_on_pre_answer in a bridge application.
Since the execution of my application is triggered before bridging the two legs (that's exactly hat what i was looking for) i do not have the "Other-Leg-uuid" var setted in my session's channel variable.
Is there any way to get the uuid of the bleg before the bridge?
<action application="export" data="nolocal:execute_on_pre_answer=lua dial.lua PRGS"/>
<action application="export" data="nolocal:execute_on_answer=lua dial.lua ANSW"/>
<action application="bridge" data="sofia/external/111xxxx@192.168.1.1"/>
So: in the dial.lua i need to have the uuid of "sofia/external/1111@192.168.1.1".
Thank you in advice!
(and thank you all for freeswitch!!)
E' nata indoona : chiama, videochiama e messaggia Gratis.
Scarica indoona per iPhone, Android e PC