[Freeswitch-users] Action and Anti-Action
Brian West
brian at freeswitch.org
Thu Mar 26 09:13:54 PDT 2009
Remember the dialplan is parsed, installed into the session then sent
into the execute state. The dialplan is NOT execute line by line as
it goes thru the dialplan. Which means you can not set a var on one
line then condition on that var on the next line because the var isn't
set yet... Remember its like a todo list one by one its compiled but
not executed yet.
This is usually an alien concept when you're migrating from various
other telephony software.
/b
On Mar 26, 2009, at 11:07 AM, Michael Collins wrote:
> Look in the default.xml dialplan file for the "tod_example" extension.
> (It's near the top of the file.) It has an example of how to create an
> extension that simply sets a variable that can be used in other
> extensions in the dialplan.
>
> -MC
Brian West
brian at freeswitch.org
-- Meet us a ClueCon! http://www.cluecon.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090326/f4c195f1/attachment-0002.html
More information about the FreeSWITCH-users
mailing list