I thought that just set acl and set in /sip_profiles/external.xml <param name="apply-inbound-acl" value="testdid"/> would solve this, but it doesn't working.

Trunk DID provider I am using is sending calls to FS. Now I just want to get this calls into public dialplan based only on IP, not authorization. :-(



2012/11/29 Sanjay Soni <ssoni@lifesize.com>
I was getting similar problem and modifying acl.conf didn't work for me. What work for me was modifying sip_profiles/internal.xml and sip_profiles/external.xml with Either
param name="local-network-acl" value="localnet.auto" - For Private IPs (This is default)
Or
param name="candidate-acl" value="wan.auto"
param name="local-network-acl" value="localnet.auto" - For Public IPs.



-----Original Message-----
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Paul Cupis
Sent: 29 November 2012 16:02
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Inbound DID trunk without authentication

On Thu, Nov 29, 2012 at 09:36:25AM +0100, Gregor Nanger wrote:
>    in acl.conf.xml i add:
>
>    <list name="testdid" default="deny">
>    <node type="allow" cidr="xxx.xxx.xxx.xxx/32"/>
>    </list>

>    What I see in console I keep getting rejected by ACL "domains"
>
>    If I understand correctly if IP of inbound call is in ACL then call is
>    transfered to public dialplan?
>
>    I need this gateway only for inbound calls.

Try adding:

   <node type="allow" cidr="xxx.xxx.xxx.xxx/32"/>

into the existing stanza in acl.conf.xml which starts with:

   <list name="domains" ...

as this is the ACL which your SIP profile seems to be using to authenticate
incoming calls.

Regards,


_________________________________________________________________________
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

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

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