hi,
thanks for your reply;
but default.xml is consist ad follow:

<?xml version="1.0" encoding="utf-8"?>
<include>
<context name="default">
        <X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</context>
</include>
but how can i limited internal calls?

From: babak yakhchali <babak.freeswitch@gmail.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Sent: Friday, June 8, 2012 5:23 PM
Subject: Re: [Freeswitch-users] how to Block inbound(internal) sofia profile calls ?(don't allow for internal calls)

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)  and to have outbound calls just add an extension that has a condition matching your destination. 
http://wiki.freeswitch.org/wiki/FreeSwitch_Dialplan_XML 

On Fri, Jun 8, 2012 at 4:13 PM, Samira Mh <saami_mh@ymail.com> wrote:
hi guys,
i have defined two extensions named:1000 & 1001
so i am going to allow the above extension make outbound calls and disable inbount calls
in other hand i dont want the ext:1000 able to make call to ext:1001 ,
and want to disable calling internal registerations sip 
how can i do that?
thanks so much

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org



_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org