<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span><br></span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">hi,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">thanks for your reply;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">but default.xml is consist ad follow:</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div>&lt;?xml version="1.0" encoding="utf-8"?&gt;</div><div>&lt;include&gt;</div><div>&lt;context name="default"&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &lt;X-PRE-PROCESS cmd="include" data="default/*.xml"/&gt;</div><div>&lt;/context&gt;</div><div>&lt;/include&gt;</div><div
 style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">but how can i limited internal calls?</div></div>  <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> babak yakhchali &lt;babak.freeswitch@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> FreeSWITCH Users Help &lt;freeswitch-users@lists.freeswitch.org&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, June 8, 2012 5:23 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] how to Block inbound(internal) sofia profile calls ?(don't allow for internal calls)<br> </font> </div> <br>
<div id="yiv206599959">if you are using xml dialplan, to block calls between and to 1000 and 1001 you can just remove any extension that routes calls between and to 1000 and 1001 in your dialplan (such as "Local_Extension" in sample configuration in default.xml) &nbsp;and to have outbound calls just add an extension that has a condition matching your destination.&nbsp;<div>

http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML&nbsp;<br><br><div class="yiv206599959gmail_quote">On Fri, Jun 8, 2012 at 4:13 PM, Samira Mh <span dir="ltr">&lt;<a rel="nofollow" ymailto="mailto:saami_mh@ymail.com" target="_blank" href="mailto:saami_mh@ymail.com">saami_mh@ymail.com</a>&gt;</span> wrote:<br>
<blockquote class="yiv206599959gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div>hi guys,</div><div>i have defined two extensions named:1000 &amp; 1001</div>
<div>so i am going to allow the above extension make outbound calls and disable inbount calls</div><div>in other hand i dont want the ext:1000 able to make call to ext:1001 ,</div><div>and want to disable calling internal registerations sip&nbsp;</div>
<div>how can i do that?</div><div>thanks so much</div></div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a rel="nofollow" ymailto="mailto:consulting@freeswitch.org" target="_blank" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
http://www.freeswitchsolutions.com<br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
http://www.cudatel.com<br>
<br>
Official FreeSWITCH Sites<br>
http://www.freeswitch.org<br>
http://wiki.freeswitch.org<br>
http://www.cluecon.com<br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a rel="nofollow" ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:<a rel="nofollow" target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a rel="nofollow" target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</div><br>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a ymailto="mailto:consulting@freeswitch.org" 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>Join Us At ClueCon - Aug 7-9, 2012<br><br>FreeSWITCH-users mailing list<br><a ymailto="mailto:FreeSWITCH-users@lists.freeswitch.org"
 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><br> </div> </div>  </div></body></html>