[Freeswitch-users] Need use static variable every time execute DialPlan

Raimundo PĂ©rez Nieves raimundo.perez.cuba at gmail.com
Mon Jan 22 11:52:00 UTC 2018


Hi,
Iam having this situation:
The leg A calls freeswitch and I execute a script in Lua and make an originate to leg B.
I execute an outbound socket and listen a socket which  my $uuidLegB = $info->getHeader("unique-id"); is legB uuid and inside this outbound scrip I detect tone and transfer into DialPlan.
The problem is that I want to bridge leg A with B, but Iam trying to use uuid_bridge but I lose uuid Leg A, how can I get the uuid Leg A inside script outbound or how I can set an static variable inside DialPlan which can I put this uuid of Leg A. Because I test creating a variable inline or some tricks and every time DialPlan executes forget everything

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180122/7b69840e/attachment-0001.html>


More information about the FreeSWITCH-users mailing list