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

Avi Marcus avi at avimarcus.net
Fri Jun 28 16:27:29 MSD 2013


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> 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
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130628/4e1be4f6/attachment.html 


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