I thought that just set acl and set in /sip_profiles/external.xml <span style="background-color:rgb(249,249,249);line-height:1.1em"><param name="apply-inbound-acl" value="</span><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">testdid</span><span style="background-color:rgb(249,249,249);line-height:1.1em">"/> would solve this, but it doesn't working.</span><div>
<span style="line-height:14.300000190734863px"><br></span></div><div><span style="line-height:14.300000190734863px">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. :-(<br>
</span><br><br><br><div class="gmail_quote">2012/11/29 Sanjay Soni <span dir="ltr"><<a href="mailto:ssoni@lifesize.com" target="_blank">ssoni@lifesize.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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<br>
param name="local-network-acl" value="localnet.auto" - For Private IPs (This is default)<br>
Or<br>
param name="candidate-acl" value="wan.auto"<br>
param name="local-network-acl" value="localnet.auto" - For Public IPs.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Paul Cupis<br>
Sent: 29 November 2012 16:02<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] Inbound DID trunk without authentication<br>
<br>
On Thu, Nov 29, 2012 at 09:36:25AM +0100, Gregor Nanger wrote:<br>
> in acl.conf.xml i add:<br>
><br>
> <list name="testdid" default="deny"><br>
> <node type="allow" cidr="xxx.xxx.xxx.xxx/32"/><br>
> </list><br>
<br>
> What I see in console I keep getting rejected by ACL "domains"<br>
><br>
> If I understand correctly if IP of inbound call is in ACL then call is<br>
> transfered to public dialplan?<br>
><br>
> I need this gateway only for inbound calls.<br>
<br>
Try adding:<br>
<br>
<node type="allow" cidr="xxx.xxx.xxx.xxx/32"/><br>
<br>
into the existing stanza in acl.conf.xml which starts with:<br>
<br>
<list name="domains" ...<br>
<br>
as this is the ACL which your SIP profile seems to be using to authenticate<br>
incoming calls.<br>
<br>
Regards,<br>
<br>
<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>
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>
_________________________________________________________________________<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>
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>
</div></div></blockquote></div><br><br></div>