Quantcast
Channel: bramp.net » md5
Viewing all articles
Browse latest Browse all 4

MD5 Digest Authorisation in SIP with PHP

$
0
0
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 = …

Read more »


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images