Hi Pascal,

On Wed, May 13, 2009 at 1:04 PM, Pascal Maugeri
<[email protected]> wrote:
> Hi
>
> We had to modify our SIP client to connect to Asterisk because it was
> putting a space character at the end of the WWW-Authenticate field value:
>
> our client was sending:

Since WWW-Authenticate contains a challenge, I assume you meant to say
"our client was receiving". Is my understanding correct?

> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="11cf20a3"
> [SPACE][CRLF]
> instead of:
> WWW-Authenticate: Digest algorithm=MD5, realm="asterisk",
> nonce="11cf20a3"[CRLF]
>
> In the first case the server doesn't accept the credentials and replies with
> "401 unauthorized"
>
> I'm just wondering if this is a client bug or a server bug ? RFC3261 is not
> that clear in my opinion.

Please, check RFC3261, Section 25.1.

Cheers,
-- 
Victor Pascual Ávila

_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to