<div class="gmail_quote">Hello Katarina, <br><br>I can answer your questions in (I believe) our mother tongue.<br><br><br>On Tue, Oct 12, 2010 at 3:12 PM, katarina djakovic <span dir="ltr"><<a href="mailto:kdjakovic@hotmail.com">kdjakovic@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>
Dear FreeSwitch users,<br><br>we need some help about ACL and Digest authenication. <br><br>This is what we want:<br><br>1) We want certain users to be authenticated through ACL (certain IP addresses) including both Register and Invite messages. In other words, we want those users to be granted access to our FS withouth having to authenticate with username and password when registering or calling.<br>
2) On the other hand, if users don't fall into our ACL list (registering/calling from other IP addresses) we want them to authenticate normally throught Digest authentication (username/password).<br><br></div></blockquote>
<div><br>2) je FreeSWITCH-ov default konfiguracija.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>We tried to configure FS for our needs, but we didn't acomplished what we wanted. Namely, now, for any users that do not belong to the ACL list our FS will reject their registration and will NOT fall back to Digest authentication. In other words, our FS will let all users that fall into ACL list register and call without authenticating --- but all others will be rejected on the attempt to register (debug trace says: sofia_reg.c IP YY.YY.YY.YY Rejected by register acl "domains") and will not let them fall back to Digest authentication.<br>
<br></div></blockquote><div><br>Ako se koristi register acl FS ne koristi fallback na Digest. Ovo ne vazi za INVITE-e gde to radi.<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>These are our settings:<br><br> a) acl.conf.xml: <br> <configuration name="acl.conf" description="Network Lists"><br> <network-lists><br><br> <!--<br> This will traverse the directory adding all users <br>
with the cidr= tag to this ACL, when this ACL matches<br> the users variables and params apply as if they <br> digest authenticated.<br> --><br> <list name="domains" default="deny"><br>
<node type="allow" domain="$${domain}"/><br> <node type="allow" domain="XX.XX.XX.XX/32"/><br> <br> </list><br><br> </network-lists><br>
</configuration><br><br>b) sip profile:<br><br> <param name="apply-inbound-acl" value="domains"/><br> <param name="apply-register-acl" value="domains"/><br>
<param name="auth-calls" value="true"/><br><br>c) users that fall into ACL will have a cidr parameter set aproprietelly <user id="2000" mailbox="2000" cidr="XX.XX.XX.XX/32"><br>
<br>Other users, that we want to be authenticated through Digest authentication will not have anything related to ACL in their user profiles in the Directory.<br><br>2) On the other hand, if we remove the <param name="apply-register-acl" value="domains"/> from the sip profile, then users that do not belong to the ACL list will register normally and when calling - their calls (Invite) will fall back to digest authentication (here is the debug: "sofia.c:5847 IP YY.YY.YY.YY Rejected by acl "domains". Falling back to Digest auth.).<br>
<br>That is fine with us - but then we have a different problem, then the users from the ACL list will be asked to register by username/password credentials, i.e. their registration will have to authenticated and that is not what we wanted.<br>
<br><br>We are mistaging somewhere. Hopefully what I wrote makes sense and maybe someone could help us configure the system to fit our needs.<br><br></div></blockquote><div><br>Kao sto sam rekao ovo je podrazumevana opcija.<br>
<br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><br> </div></blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div>Many thanks in advance,<br><font color="#888888">Katarina                                            </font></div>
<br></blockquote><div><br>Regards,<br>Ognjen<br><br>irc #freeswitch: sekil<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">_______________________________________________<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></blockquote></div><br>