[Serusers] www_challange and proxy_challange

Jan Janak jan at iptel.org
Wed Aug 24 10:59:14 CEST 2005


On 24-08-2005 09:31, Klaus Darilion wrote:
> If the proxy is the endpoint of the request, it should use www_auth.
> If the proxy is an intermediate hop, it should use proxy_auth.
> 
> Thus, usually you use:
> - www_auth for REGISTER
> - proxy_auth for INVITE, BYE, MESSAGE, ...
> 
> I'm little bit unsure how to challange PUBLISH and SUBSCRIBE as they 
> might be terminated in the proxy (pa module) or in the client (end2end 
> presence).

  A good implementation should not care whether it gets proxy_auth or
  www_auth, it can also get both in the same message in more complex
  scenarios (this is rarely supported in user agents).

    Jan.




More information about the sr-users mailing list