[SIPForum-discussion] How digest response is generated

Varadhan M m.varadhan at gmail.com
Mon Oct 27 05:55:44 UTC 2014


You can refer wiki
https://en.wikipedia.org/wiki/Digest_access_authentication

You can also checkout 'C' code from asterisk
http://doxygen.asterisk.org/trunk/d5/dfe/chan__sip_8c.html#f8fea3fad714b702ab08cf239cfe9ca0

On Thu, Aug 21, 2014 at 3:54 AM, Kamrul Khan <dodul at live.com> wrote:

> Hi,
>
> I am testing my sip dialer using
> HTTP digest authentication in the server side. Now, my dialer is sending
> the below response:
>
> Digest username="bob", realm="192.168.146.133", nonce="5e954418",
> uri="sip:192.168.146.133", response="*ec221690633f2ae691669c4083832fd8*",
> algorithm=MD5
>
> However, the original password that I set was 1234 and the md5 value of
> 1234 is *81dc9bdb52d04dc20036dbd8313ed055 *(according to
> http://www.miraclesalad.com/webtools/md5.php) Now how do I match the
> password? can someone provide me the exact algorithm of generating this
> digest response so that I can write a function?
>
> Someone please help.
>
> BR//Kamrul
>
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit
> http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20141027/f065bb8c/attachment-0002.html>


More information about the discussion mailing list