My SIP provider stores my SIP call time password as AES encrypted in stead of hashed. I understand that SIP authentication has the capability to NOT store the password, and in stead store a pre-calculated hash 'string1'.
string HA1=MD5(username:realm:password)
and then during authentication calculate.
HA2=MD5(method:digestURI)
response=MD5(HA1:nonce:HA2)
See Digest access authentication
The provider, however, says that some clients make it impossible to calculate string HA1 because the realm value changes.
- Is it indeed common practice to store a SIP call time password encrypted?
- I thought that the SIP server determines the realm. Are there indeed SIP-server setups that cannot predict/determine the realm for call time later on?