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