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@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@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