[Freeswitch-users] Notification of an event in the dialplan

Steven Schoch schoch+freeswitch.org at xwin32.com
Wed May 22 03:41:22 MSD 2013


On Tue, May 21, 2013 at 2:26 PM, Michael Collins <msc at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130521/dbcf5f94/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list