For instance, in the <sip_profile>.xml file, configure: <param name="apply-inbound-acl" value="external"/> and in the acl.conf.xml: <list name="external" default="deny"> <node type="allow" cidr="8.8.8.8/32"/> </list> and complete it as required David Ponzone Direction Technique email: david.ponzone@ipeva.fr tel: 01 74 03 18 97 gsm: 06 66 98 76 34 Service Client IPeva tel: 0811 46 26 26 www.ipeva.fr - www.ipeva-studio.com Ce message et toutes les pièces jointes sont confidentiels et établis à l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisée est interdite. Tout message électronique est susceptible d'altération. IPeva décline toute responsabilité au titre de ce message s'il a été altéré, déformé ou falsifié. Si vous n'êtes pas destinataire de ce message, merci de le détruire immédiatement et d'avertir l'expéditeur. Le 27/01/2011 à 14:09, Gary Chen a écrit :
I'd like to only allow the calls from certain IP's. I tried to added IP to the acl configuration file and could not make it work. And there is not much information on how to use acl.conf.xml.
Let's say that I have <list name="domains" default="deny"> and I only want outside incoming calls from certain IP's., how can I do that? Can anybody give me an example?
Gary Chen
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins Sent: Wednesday, January 26, 2011 8:08 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] question about acl and context
Do you want to open your switch to the whole wide world? Or do you just want to allow any calls from certain IP addresses?
-MC
On Wed, Jan 26, 2011 at 11:18 AM, Gary Chen <gchen00@insightbb.com> wrote:
Installed freeswitch (FreeSWITCH Version 1.0.7 (hacked-20110126T141401Z)) with default configuration.
I registered two sip phones with user id 1007 and 1001. I then dial 9196 for echo test from sip phone 1001 and it worked. Then I make change to acl.conf.xml:
from <list name="domains" default="deny">
to <list name="domains" default="allow">
After this change, dialing 9196 stopped working. By looking at console, I can see that before the change
the call first hit default context. and then after the change the call first hit public context.
Does anybody know why?
I'd like to setup freeswitch to allow both inbound and outbound calls using port 5060. That is why I made above change on acl.conf.xml.
Gary
_______________________________________________ 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