<div dir="ltr">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!<div>
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)"<div>-Avi<br><br><div class="gmail_quote">
On Mon, Mar 21, 2011 at 10:13 AM, Avi Marcus <span dir="ltr"><<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr">We have two items going on - extensions, and condition-groups within the extension.<div>For wday=1, if it was set to on-false - the default - it would end evaluating this extension and move on to the next.</div>
<div>However, since it says "break=never" it moves to evaluate the *next* *condition-group* rather than executing or skipping the extension entirely.</div><div>-Avi<div><div></div><div class="h5"><br><br><div class="gmail_quote">
On Mon, Mar 21, 2011 at 8:59 AM, Dmitry Bely <span dir="ltr"><<a href="mailto:dmitry.bely@gmail.com" target="_blank">dmitry.bely@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Sun, Mar 20, 2011 at 10:45 PM, Avi Marcus <<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</a>> wrote:<br>
> No, I'm pretty sure that example works as intended.. I created it<br>
<br>
</div>Really? Correct me if I'm wrong but for wday=1 and hour=9 an action in<br>
<br>
<condition wday="6" break="never"/><br>
<condition hour="8-12" break="on-true"><br>
<action application="transfer" data="1105 XML default"/><br>
</condition><br>
<br>
will be executed and further processing will be stopped. Actually the<br>
first condition is a sort of (misleading) comment here.<br>
<font color="#888888"><br>
- Dmitry Bely<br>
</font><div><div></div><div><br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div>