[Freeswitch-users] Getting a lua script to run early

Alex Lake alex at digitalmail.com
Fri Jun 28 17:01:13 MSD 2013


Yeah, inline="true" works on the action.
> Right, it does the hunt and THEN does the execute.
> So you're right -- try inline. I think it was changed to allow Lua for 
> inline, but be sure not to touch the media!
>
> Update the wiki when you know for sure.
>
> -Avi
>
> On Fri, Jun 28, 2013 at 2:31 PM, Alex Lake <alex at digitalmail.com 
> <mailto:alex at digitalmail.com>> wrote:
>
>     I want to run a little lua script early in the dialplan processing.
>
>     I need to get in front of some of the X-PRE-PROCESS stuff, notably
>
>     <X-PRE-PROCESS cmd="include" data="public/*.xml"/>
>
>     Can I use "inline" to do this, I wonder?
>
>     I've already put
>
>     <X-PRE-PROCESS cmd="include" data="ddicheck.xml"/>
>
>     in, but the extension it contains that runs some lua doesn't execute
>     until after all the other main extensions have been considered for
>     execution.
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>     UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>     http://www.freeswitch.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> No virus found in this message.
> Checked by AVG - www.avg.com <http://www.avg.com>
> Version: 2012.0.2242 / Virus Database: 3204/5946 - Release Date: 06/27/13
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130628/ef72c206/attachment-0001.html 


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