NOTE: break "on-true, on-false, never" don't change the *condition*, merely the *hunting*. You need ALL the conditions to match for freeswitch to do the action, and you can't change that! The break is how to handle failure - "Does 1 failure to match a condition mean should move on to the next condition extension (on-false) or keep evaluating this extension? (never)" -Avi On Mon, Mar 21, 2011 at 10:13 AM, Avi Marcus <avi@avimarcus.net> wrote:
We have two items going on - extensions, and condition-groups within the extension. For wday=1, if it was set to on-false - the default - it would end evaluating this extension and move on to the next. However, since it says "break=never" it moves to evaluate the *next* *condition-group* rather than executing or skipping the extension entirely. -Avi
On Mon, Mar 21, 2011 at 8:59 AM, Dmitry Bely <dmitry.bely@gmail.com>wrote:
On Sun, Mar 20, 2011 at 10:45 PM, Avi Marcus <avi@avimarcus.net> wrote:
No, I'm pretty sure that example works as intended.. I created it
Really? Correct me if I'm wrong but for wday=1 and hour=9 an action in
<condition wday="6" break="never"/> <condition hour="8-12" break="on-true"> <action application="transfer" data="1105 XML default"/> </condition>
will be executed and further processing will be stopped. Actually the first condition is a sort of (misleading) comment here.
- Dmitry Bely
_______________________________________________ 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