Hello,

        I am using the LiveDVD version of OpenSIPS. I placed it on a
dedicated outside IP. I am getting an 407 Proxy Authentication Required
message when trying to place calls on some endpoints. Not all mind you.
I am able to configure xmeeting to pass the username and password for
the proxyand all works great, but not all endpoints have that ability.
Namely Bria. I was looking to have the proxy authentication disabled, or
just have it check to see if it is a local registered endpoint. Can
someone point me in the right direction. Below is what I have for local
callers.

   #---- authenticate caller if local ----#
        if (!is_method("REGISTER") && is_from_local()) {
                if(!is_from_gw()){


                        if (!proxy_authorize("", "subscriber")) {
                                proxy_challenge("", "0");
                                exit;
                        }
                        if (!db_check_from()) {
                                send_reply("403","Forbidden auth ID");
                                exit;
                        }
                        consume_credentials();
                        # caller authenticated
                }
        }

Thank you in advance.

Sean Salomon


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to