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 "big picture" 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"><<a href="mailto:miha@softnet.si">miha@softnet.si</a>></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="on-true" 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> <condition
field="destination_number"
expression="^(051|041|031|030|040|070|071)(\d{6})|^(0038651|0038641|0038631|0038630|0038640|0038670|0038671)(\d{6})"
break="on-true"> and reject call instead of goint to second
condtion which is </small><small><condition
field="${toll_allow}" expression="tuje"/>.<br>
<br>
I hope I make it clear:D<br>
</small><small><br>
<condition field="${toll_allow}" expression="mobilne"
break="on-true" /><br>
<condition field="destination_number"
expression="^(051|041|031|030|040|070|071)(\d{6})|^(0038651|0038641|0038631|0038630|0038640|0038670|0038671)(\d{6})"
break="on-true"><br>
<action application="respond" data="403"/><br>
</condition><br>
<br>
<br>
<br>
<condition field="${toll_allow}" expression="tuje"/><br>
<condition field="destination_number"
expression="^00\d+"><br>
<action application="respond" data="403"/><br>
</condition><br>
<br>
<br>
<condition field="${toll_allow}" expression="vroce"/><br>
<condition field="destination_number"
expression="^(090)(\d{4})|^(090)(\d{6})"><br>
<action application="respond" data="403"/><br>
</condition><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>