[OpenSER-Users] Proxy Authorization - Two Digests

Iñaki Baz Castillo ibc at in.ilimit.es
Fri Apr 25 11:49:08 CEST 2008


El Friday 25 April 2008 07:41:09 Klaus Darilion escribió:

> Shouldn't the realm be derived from the To/From header?

Except if it's specified in the 401/407 response.
Note that some sip providers force the clients to configure a "realm" 
different than the domain, for example:

REGISTER sip:carpo.net SIP/2.0
To: "ibc" <sip:ibc at carpo.net>
From: "ibc" <sip:ibc at carpo.net>;tag=kyhoq

SIP/2.0 401 Unauthorized
WWW-Authenticate: Digest realm="carpo",   
  nonce="4811a871ab94af719b4fcc7e01b491f69aab22d3"

REGISTER sip:carpo.net SIP/2.0
To: "ibc" <sip:ibc at carpo.net>
From: "ibc" <sip:ibc at carpo.net>;tag=kyhoq
Authorization: Digest
  username="ibc", realm="carpo",   
  nonce="4811a871ab94af719b4fcc7e01b491f69aab22d3", uri="sip:carpo.net",
  response="5cd9163c8ee5eb2aa7979725f45ed80e",algorithm=MD5


Regards.



-- 
Iñaki Baz Castillo
ibc at in.ilimit.es




More information about the sr-users mailing list