[Freeswitch-users] ACL issue
Michael Collins
msc at freeswitch.org
Tue Aug 11 09:55:26 PDT 2009
On Tue, Aug 11, 2009 at 2:38 AM, Kevin Golding <kevin at kgolding.co.uk> wrote:
> Thanks Brian,
>
> Well spotted with the domain/cidr :)
>
> I changed the line <param name="apply-inbound-acl" value="domains"/> in
> the internal.xml with a new value, and changed the list to match but I
> still get the same 'Rejected by acl "domains"' error.
>
You need to apply the name of your new ACL in the sip profile. In the file
internal.xml look for this line:
<param name="apply-inbound-acl" value="domains"/>
And change "domains" to whatever your new ACL is named:
<param name="apply-inbound-acl" value="YOUR_NEW_ACL_NAME_HERE"/>
Then restart FS or go to the command line and execute:
reloadacl reloadxml
Should be good after that!
-MC
>
> And yes I reloaded the xml. :)
>
> Kevin
>
> Brian West wrote:
> > First off edit the profile to use your own custom ACL... not the
> > domains one... secondly you'll have to use cidr= instead of domain=.
> >
> > Domain= will search the user directory building an ACL list from all
> > users with the cidr= attribute.
> >
> > /b
> >
> >
> > On Aug 10, 2009, at 6:36 PM, Kevin Golding wrote:
> >
> >> acl.conf.xml file, and have put the following in it:
> >>
> >> <configuration name="acl.conf" description="Network Lists">
> >> <network-lists>
> >> <list name="domains" value="allow">
> >> <node type="allow" domain="$${domain}"/>
> >> <node type="allow" domain="213.166.5.128/28"/>
> >> <node type="allow" domain="87.238.72.128/26"/>
> >> </list>
> >> </network-lists>
> >> </configuration>
>
>
> _______________________________________________
> 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/20090811/3dcdc5a6/attachment-0002.html
More information about the FreeSWITCH-users
mailing list