[Freeswitch-users] Understanding break="never" in condition-tag

Avi Marcus avi at avimarcus.net
Sun Mar 20 22:45:11 MSK 2011


No, I'm pretty sure that example works as intended.. I created it.
break="never" is NOT "ignore this condition" but rather "keep processing the
extension even if this doesn't match".
So in the example you linked to, if both wday's don't match, it goes to the
"catch-all" at the end.  And if it does match the wday, it still has to
match the rest of the nested conditions to perform the action.
-Avi

On Sun, Mar 20, 2011 at 2:45 PM, [Redhosting] Egbert Groot <
egbert at redhosting.nl> wrote:

> On Sun, Mar 20, 2011 at 2:10 PM, [Redhosting] Egbert Groot<egbert at redhosting.nl> <egbert at redhosting.nl> wrote:
>
>
>    Indeed, with adding an action, it is/can be usefull.
> I was reading in wiki:
> http://wiki.freeswitch.org/wiki/Dialplan_XML#Nesting_Conditions_-OR_.7C.7C
> I think the example is not the most clear explanation of the workings of
> 'break'. It does use 'break-never' without any action. Even more, am I
> correct stating the provided example doesn't do what one might want to
> accomplish? It seems to me the week days are of no use at all?
> I'd like to improve the wiki, problem is I'm not sure I understand the
> working enhough.
>
> regards,
> Egbert.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110320/8453f6c9/attachment.html 


More information about the FreeSWITCH-users mailing list