Miha,<br><br>It might help if you show us a bit more of your dialplan. It may be that you need to break some of these out into separate extensions. Also, what is your &quot;big picture&quot; application? What is the problem that you are attempting to solve?<br>
<br>-MC<br><br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 6:04 AM, Miha <span dir="ltr">&lt;<a href="mailto:miha@softnet.si">miha@softnet.si</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <small>Hi,<br>
      <br>
      In same extension a have multiple conditions. Problem is if the
      first condition is false, dialplan will go further as I have set
      on-true.<br>
      How can I prevent that dialplan will go after break=&quot;on-true&quot; on
      second condition and will not go looking condition inside
      condition.<br>
      <br>
      So if the variable mobilne is not set, in this dialplan FS will go
      looking to </small><small> &lt;condition
      field=&quot;destination_number&quot;
      expression=&quot;^(051|041|031|030|040|070|071)(\d{6})|^(0038651|0038641|0038631|0038630|0038640|0038670|0038671)(\d{6})&quot;

      break=&quot;on-true&quot;&gt; and reject call instead of goint to second
      condtion which is </small><small>&lt;condition
      field=&quot;${toll_allow}&quot; expression=&quot;tuje&quot;/&gt;.<br>
      <br>
      I hope I make it clear:D<br>
    </small><small><br>
       &lt;condition field=&quot;${toll_allow}&quot; expression=&quot;mobilne&quot; 
      break=&quot;on-true&quot; /&gt;<br>
              &lt;condition field=&quot;destination_number&quot;
      expression=&quot;^(051|041|031|030|040|070|071)(\d{6})|^(0038651|0038641|0038631|0038630|0038640|0038670|0038671)(\d{6})&quot;
      break=&quot;on-true&quot;&gt;<br>
              &lt;action application=&quot;respond&quot; data=&quot;403&quot;/&gt;<br>
      &lt;/condition&gt;<br>
      <br>
      <br>
      <br>
      &lt;condition field=&quot;${toll_allow}&quot; expression=&quot;tuje&quot;/&gt;<br>
              &lt;condition field=&quot;destination_number&quot;
      expression=&quot;^00\d+&quot;&gt;<br>
              &lt;action application=&quot;respond&quot; data=&quot;403&quot;/&gt;<br>
      &lt;/condition&gt;<br>
      <br>
      <br>
      &lt;condition field=&quot;${toll_allow}&quot; expression=&quot;vroce&quot;/&gt;<br>
              &lt;condition field=&quot;destination_number&quot;
      expression=&quot;^(090)(\d{4})|^(090)(\d{6})&quot;&gt;<br>
              &lt;action application=&quot;respond&quot; data=&quot;403&quot;/&gt;<br>
      &lt;/condition&gt;<br>
    </small><br>
    <br>
    Regards and thank you for your help!<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Miha<br>
  </font></span></div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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>
<br></blockquote></div><br>