Hi Michael,

The feature is already documented here:

http://wiki.freeswitch.org/wiki/Dialplan_XML#Clarification
http://wiki.freeswitch.org/wiki/Dialplan_XML#Inline_Actions

Perhaps the reason *why* it's the way it is can be expanded a bit ?

regards,

Leon


On Oct 21, 2009, at 7:02 PM, Michael Collins wrote:



On Wed, Oct 21, 2009 at 9:39 AM, Anthony Minessale <anthony.miness...@gmail.com > wrote:
It not only makes sense it's well documented on the wiki page.
The set line is not happening right when it's encountered, the set line is copied into the channel and executed later after the whole dialplan is parsed. The dialplan is a pre-processor not a runtime engine.

Here is a new feature in pre-1.0.5 (svn trunk)

Some applications like set can now be executed within the dialplan but you should use it sparingly.
<action application="set" data="testing=true" inline="true"/>

I'm getting ready to document this feature. For the sake of edification, why is it best to use this sparingly, other than wide- spread use making dialplans all cluttered?
-MC


The inline=true makes it execute inside the dialplan and it's never copied into your resulting extension because it's executed immediately.


_______________________________________________
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

_______________________________________________
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

Reply via email to