On Tue, May 21, 2013 at 2:26 PM, Michael Collins <msc@freeswitch.org> wrote:

<action application="set" data="res=${bg_system(/path/to/script.py arg1 arg2)}"/>

It's a little off the subject, but I use luarun in my dialplan to do a CNAM lookup in the background while an IVR is waiting for the caller to make a choice. Luarun runs a LUA script in the background.

         <action application="set" data="api_result=${luarun cid_bg.lua ${uuid}}"/>

-- 
Steve