[SIPForum-discussion] The Digest Authentication Scheme for SIP UAC

harish T harish0611 at gmail.com
Thu Jan 18 12:16:52 UTC 2007


Hi friends,

I am trying to created MD5 Digest by using the challange sent by
server.Buti am not able to get the Exact responce value for
responce header .

I read 3261rfc..there i  have not found information about the parameters
which should be used for creating value for responce Hearder...

i found one example in wikipedia.com...for http not for SIP.

For Http they are using following procedure for creating MD5 value ...

HA1 = MD5( "USER_NAME:DOMINE_NAME at host.com:PASSWORD" )
        = 939e7578ed9e3c518a452acee763bce9

    HA2 = MD5( "GET:/dir/index.html" )
        = 39aff3a2bab6126f332b942af96d3366

    Response = MD5( "939e7578ed9e3c518a452acee763bce9:\
                     NONCE:\
                     NC:CNONCE:QOP:\
                     39aff3a2bab6126f332b942af96d3366" )
             = 6629fae49393a05397450978507c4ef1

This procedure is for HTTP method....

Can anyone please tell me the syntax or parameter which should be used for
creating Responce header....

I tryed using same procedure as followed by Http by replacing http method
name to SIP (as suggested in rfc 3261)..but the response value is not
matching...

Can any one please send me exact syntax used for creating response value
using the challenge sent by server


-- 
------------------------------------------------------
To accomplish great things, we must not only act, but also dream; not only
plan, but also believe.



With regards
Harish.T
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20070118/1bce8207/attachment-0002.html>


More information about the discussion mailing list