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

Avi Marcus avi at avimarcus.net
Sun Mar 20 15:54:16 MSK 2011


Using "on true" or "on false" would stop evaluating the entire extension.
This is really best for *nested* extensions as you'll see the two examples
on the wiki are for when you want to keep evaluating the extension in it's
entirety.

-Avi

On Sun, Mar 20, 2011 at 2:30 PM, Dmitry Bely <dmitry.bely at gmail.com> wrote:

> On Sun, Mar 20, 2011 at 2:10 PM, [Redhosting] Egbert Groot
> <egbert at redhosting.nl> wrote:
> > Hi All,
> >
> > I'm struggling understanding the 'break' attribute in condition tags.
> > Am I correct saying the following condition tag is useless? It doesn't
> > influence the routing/application stack at all.
> > For this example the check is on 'wday', but it could be any other
> > field/expression, my question is about the 'break="never"' part:
> >
> > <condition wday="1" break="never" />
> >
> > ( though it could be used for clarity or debugging, since it does get
> > evaluated)
>
> It makes sense if you use the form
>
> <condition wday="1" break="never">
>   (some actions)
> </condition>
>
> - Dmitry Bely
>
> _______________________________________________
> 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/e3b0b751/attachment.html 


More information about the FreeSWITCH-users mailing list