<div dir="ltr">If you get an outside thread -- via ESL or it does seem like luarun goes into the background, then all it has to do is know the UUID and it can use <a href="http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar">uuid_setvar</a> to set effective_caller_id_name after the lookup.<div>

Just if that doesn&#39;t finish before the bridge, it&#39;s not very helpful.</div><div><br></div><div>Once you get this working, putting the example on the lua or cidlookup page would be great.</div><div><br clear="all">

<div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">-Avi Marcus</span></div></div><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif;font-size:small">BestFone</span></div>

<br><div class="gmail_quote">On Tue, Mar 12, 2013 at 3:04 AM, Steven Schoch <span dir="ltr">&lt;<a href="mailto:schoch+freeswitch.org@xwin32.com" target="_blank">schoch+freeswitch.org@xwin32.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Using cidlookup causes an inconsistent pause before the main IVR starts, so would it make sense to run the cidlookup in the background?  I was thinking about starting a script in the background using luarun, and having it set the cid_name before the caller is done with the IVR.  The question is how to pass the variable to the main thread?<div>


<br></div><div>Or am I looking for too much trouble here?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-- </div><div>Steve</div></font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>