2008/4/9, Jerry Richards <[EMAIL PROTECTED]>: > Second Server Case: > 1) Server sends following header in the "401 Unauthorized" message: > WWW-Authenticate: Digest realm="Registered_Subscribers", > domain="sip:206.229.26.61", > nonce="20dfb7e5a77abee7a02dbe53efe42cdd",opaque="2a794e58", > stale=FALSE,algorithm=MD5 > 2) In callback function, > sip_header_as_string(home, sip_www_authenticate(sip)) returns > a pointer to a NULL string.
What sip_www_authenticate(sip) returns? > 3) But, sip->sip_www_authenticate->au_params points to > "realm="Registered_Subscribers"" > > Do you know why in the first case sip_header_as_string() returns the > complete header string, and in the second case it returns a NULL string? That sound weird. Do you happen to have multiple WWW-Authenticate headers in the 401 response in the second case? -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel