[Freeswitch-users] how to Block inbound(internal) sofia profile calls ?(don't allow for internal calls)

Samira Mh saami_mh at ymail.com
Fri Jun 8 17:19:35 MSD 2012



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 at gmail.com>
To: FreeSWITCH Users Help <freeswitch-users at 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 at 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 at freeswitch.org
>http://www.freeswitchsolutions.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 at 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 at freeswitch.org
http://www.freeswitchsolutions.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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120608/09f7ec8c/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list