<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>You should be able to get it if you use export app in the dialplan before executing lua script. </div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Srigo<br><br>Sent from my iPhone</div><div><br>On 22 Jan 2018, at 12:52, Raimundo PĂ©rez Nieves <<a href="mailto:raimundo.perez.cuba@gmail.com">raimundo.perez.cuba@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="Content-Type" content="text/html; charset=us-ascii">Hi,<div class="">Iam having this situation:</div><div class="">The leg A calls freeswitch and I execute a script in Lua and make an originate to leg B.</div><div class="">I execute an outbound socket and listen a socket which <span style="color: rgb(212, 212, 212); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30);" class=""> </span><span style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30); color: rgb(86, 156, 214);" class="">my</span><span style="color: rgb(212, 212, 212); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30);" class=""> </span><span style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30); color: rgb(156, 220, 254);" class="">$uuidLegB</span><span style="color: rgb(212, 212, 212); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30);" class=""> = </span><span style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30); color: rgb(156, 220, 254);" class="">$info</span><span style="color: rgb(212, 212, 212); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30);" class="">-></span><span style="color: rgb(212, 212, 212); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30);" class="">getHeader(</span><span style="font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30); color: rgb(206, 145, 120);" class="">"unique-id"</span><span style="color: rgb(212, 212, 212); font-family: Menlo, Monaco, "Courier New", monospace; white-space: pre; background-color: rgb(30, 30, 30);" class="">);</span><span style="white-space: pre; background-color: rgb(255, 255, 255);" class=""> is legB uuid and inside this outbound scrip I detect tone and transfer into </span><span style="white-space: pre;" class="">DialPlan.</span></div><div class=""><span style="white-space: pre;" class="">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</span></div><div class=""><span style="white-space: pre;" class=""><br class=""></span></div><div class=""><span style="white-space: pre;" class="">Thanks</span></div></div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a></span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span></div></blockquote></body></html>