<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi,<br>
      <br>
      I added this in the condition, it didn't work.<br>
      <br>
      I have solved this problem by adding anti-action<br>
      &lt;anti-action application="stop" data=""/&gt;<br>
      <br>
      Thanks.<br>
      Jimmy<br>
      <br>
      &#26044; 2013/4/16 &#19979;&#21320; 11:56, Michael Collins &#25552;&#21040;:<br>
    </div>
    <blockquote
cite="mid:CAKzWOxVjVW-AXjaJMG_OSPV01-dvprmtL-BJXJYUBSQczbknRg@mail.gmail.com"
      type="cite">I'd say you want break="always" in that condition:<br>
      <br>
      <font face="Arial">&lt;condition field="${cond(${_body} &lt; 10 ?
        YES : NO)}" expression="^YES$" break="always"&gt;</font><br>
      <br>
      Try that and let us know if it works.<br>
      -MC<br>
      <br>
      <div class="gmail_quote">On Tue, Apr 16, 2013 at 4:51 AM, Jos&eacute;
        Luis Mill&aacute;n <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:jmillan@aliax.net" target="_blank">jmillan@aliax.net</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div dir="ltr">Hi,
            <div><br>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">2013/4/16 Jimmy Chang <span
                  dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:chang33.tw@gmail.com" target="_blank">chang33.tw@gmail.com</a>&gt;</span><br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div text="#000000" bgcolor="#FFFFFF"> <font
                      face="Arial">Hi,<br>
                      <br>
                      I have a chatplan like this:<br>
                      <br>
                      &lt;?xml version="1.0" encoding="utf-8"?&gt;<br>
                      &lt;include&gt;<br>
                      &nbsp; &lt;context name="default"&gt;<br>
                      <br>
                      &nbsp;&nbsp;&nbsp; &lt;extension name="testnumber"&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="to"
                      expression="^testnumber"/&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="${cond(${_body} &lt; 10
                      ? YES : NO)}" expression="^YES$"&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="reply"
                      data="OK"/&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
                      &nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>
                      <br>
                      <br>
                      &nbsp;&nbsp;&nbsp; &lt;extension name="demo"&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="to"
                      expression="^(.*)$"&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="send" /&gt;<br>
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<br>
                      &nbsp;&nbsp;&nbsp; &lt;/extension&gt;<br>
                      <br>
                      &nbsp; &lt;/context&gt;<br>
                      &lt;/include&gt;<br>
                      <br>
                      No matter what result the </font><font
                      face="Arial"><font face="Arial">{cond(${_body}</font>
                      is, I don't want the plan flow go down to demo
                      extension.<br>
                      What should I do?<br>
                      <br>
                    </font></div>
                </blockquote>
                <div><br>
                </div>
                <div>What about an 'anti-action' for the case the
                  condition is not satisfied?</div>
                <div><br>
                </div>
                <div>&nbsp;</div>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div text="#000000" bgcolor="#FFFFFF"><font
                      face="Arial"> Thanks.<span><font color="#888888"><br>
                          Jimmy<br>
                        </font></span></font> </div>
                  <br>
_________________________________________________________________________<br>
                  Professional FreeSWITCH Consulting Services:<br>
                  <a moz-do-not-send="true"
                    href="mailto:consulting@freeswitch.org"
                    target="_blank">consulting@freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.freeswitchsolutions.com"
                    target="_blank">http://www.freeswitchsolutions.com</a><br>
                  <br>
                  FreeSWITCH-powered IP PBX: The CudaTel Communication
                  Server<br>
                  <a moz-do-not-send="true"
                    href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
                  <br>
                  Official FreeSWITCH Sites<br>
                  <a moz-do-not-send="true"
                    href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
                  <br>
                  FreeSWITCH-users mailing list<br>
                  <a moz-do-not-send="true"
                    href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                    target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                  <a moz-do-not-send="true"
                    href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                    target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                  UNSUBSCRIBE:<a moz-do-not-send="true"
                    href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                    target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                  <a moz-do-not-send="true"
                    href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                  <br>
                </blockquote>
              </div>
              <span class="HOEnZb"><font color="#888888"><br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                  Jos&eacute; Luis Mill&aacute;n
                </font></span></div>
          </div>
          <br>
_________________________________________________________________________<br>
          Professional FreeSWITCH Consulting Services:<br>
          <a moz-do-not-send="true"
            href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
          <br>
          FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
          <a moz-do-not-send="true" href="http://www.cudatel.com"
            target="_blank">http://www.cudatel.com</a><br>
          <br>
          Official FreeSWITCH Sites<br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://wiki.freeswitch.org"
            target="_blank">http://wiki.freeswitch.org</a><br>
          <a moz-do-not-send="true" href="http://www.cluecon.com"
            target="_blank">http://www.cluecon.com</a><br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Michael S Collins<br>
      Twitter: @mercutioviz<br>
      <a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
        target="_blank">http://www.FreeSWITCH.org</a><br>
      <a moz-do-not-send="true" href="http://www.ClueCon.com"
        target="_blank">http://www.ClueCon.com</a><br>
      <a moz-do-not-send="true" href="http://www.OSTAG.org"
        target="_blank">http://www.OSTAG.org</a><br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>