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 &quot;Local_Extension&quot; in sample configuration in default.xml)  and to have outbound calls just add an extension that has a condition matching your destination. <div>

<a href="http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML">http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML</a> <br><br><div class="gmail_quote">On Fri, Jun 8, 2012 at 4:13 PM, Samira Mh <span dir="ltr">&lt;<a href="mailto:saami_mh@ymail.com" target="_blank">saami_mh@ymail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_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 </div>
<div>how can i do that?</div><div>thanks so much</div></div></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>
Join Us At ClueCon - Aug 7-9, 2012<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></div>