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 uuid_setvar <http://wiki.freeswitch.org/wiki/Mod_commands#uuid_setvar> to set effective_caller_id_name after the lookup. Just if that doesn't finish before the bridge, it's not very helpful. Once you get this working, putting the example on the lua or cidlookup page would be great. -Avi Marcus BestFone On Tue, Mar 12, 2013 at 3:04 AM, Steven Schoch < schoch+freeswitch.org@xwin32.com> wrote:
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?
Or am I looking for too much trouble here?
-- Steve
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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