Hello, I am trying to implement ACL in FreeSWITCH. What I want to do is, check the user's IP in the ACL. If that is present, let the user send INVITE. If ACL fails, fallback to digest authentication and authentication user/pass. Problem is that when I do auth_calls true, I am not able to INVITE. We have actually two scenarios, 1 make call without REGISTER, second REGISTER and make calls. I have set default ACL to deny, but that still not helping. Either one of them works, with the digest or ACL. I don't want to create another profile and make 1 for authentication, and the other without auth. Is there any workaround for this? -B
Have you tried the "cidr=x.x.x.x" in the user's config file? http://wiki.freeswitch.org/wiki/Acl#Users -MC On Thu, Sep 22, 2011 at 4:31 AM, Muhammad Naseer Bhatti <nbhatti@gmail.com>wrote:
Hello, I am trying to implement ACL in FreeSWITCH. What I want to do is, check the user's IP in the ACL. If that is present, let the user send INVITE. If ACL fails, fallback to digest authentication and authentication user/pass. Problem is that when I do auth_calls true, I am not able to INVITE. We have actually two scenarios, 1 make call without REGISTER, second REGISTER and make calls. I have set default ACL to deny, but that still not helping. Either one of them works, with the digest or ACL. I don't want to create another profile and make 1 for authentication, and the other without auth. Is there any workaround for this?
-B
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
participants (2)
-
Michael Collins
-
Muhammad Naseer Bhatti