Re: [ATLSIP] Proxy Authentication User is empty
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2007-10-10 03:17:38
|
tom schuring wrote: > hello Joegen, > > > thank you for taking the time to reply. i am using ATLSIP in my own program but i am using it as an activeX component. > > > i do set the AuthenticationUser property but i can't fin REGISTER method (i assume that is handled by the DoLogin method ?). > Yes REGISTER will be sent out upon calling DoLogin() method > > my question was about how i find out what the ProxyAuthenticationUser should be. where can i find this ? > ProxyAuthenticationUser is set by the application. If you want to use the same credentials for both REGISTER and INVITE, you need to explicitly set their values as equal by calling AuthenticationUser and ProxyAuthenticationUser and feed them a common value. Do the same for the password. Do not forget to call InitializeSIP() after changing any property in ATLSIP atlsip.AuthenticationUser = atlsip.ProxyAuthenticationUser = "myusername"; atlsip.AuthenticationPassword = atlsip.ProxyAuthenticationPassword = "password"; atlsip.InitializeSIP(); > > when i use a sip client like x-lite i never specify what the ProxyAuthenticationUser is and it finds out by looking at the response from the server when it returns a "407 Proxy Authentication Required" > The server never sends the user in the challenge. You have the wrong assumption here. The only difference with x-lite is that x-lite assumes that the authentication credentials for the registrar and the proxy is always the same. ATLSIP allows you to have separate credentials for registrar and proxy so you must explicitly set them both. > > i can see in a network trace that in this "407" sip message it has a +Proxy-Authenticate: Digest realm="asterisk", nonce="453baf90"+ section that x-lite must copy to send the next INVITE.. > > > this is all what i assume happens, please let me know if this is not the case. > > > so in short i would like to know where i can find what the Proxy-Authenticate should be... > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Opensipstack-atlsipdevel mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensipstack-atlsipdevel > > > |