Today I needed to work out the MD5 Digest hash for SIP authorisation. A quick search on Google revealed instructions on how to generate the hash, and then I made this simple PHP script. <?php $username = '1234'; $realm = 'asterisk'; $password = 'PASSWORD'; $uri = 'sip:1.2.3.4'; $nonce = 'abcdef01'; $str1 = md5("$username:$realm:$password"); $str2 = …
Trending Articles
More Pages to Explore .....