You should be able to get it if you use export app in the dialplan before executing lua script. Srigo Sent from my iPhone
On 22 Jan 2018, at 12:52, Raimundo Pérez Nieves <raimundo.perez.cuba@gmail.com> wrote:
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 _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org