Hello!
Kamailio 5.7.6
Debian 10.12
Here is my authentication route:
```
route[AUTH] {
if (is_method("REGISTER") || from_uri==myself) {
if (!auth_check("$fd", "subscriber", "0")) {
auth_challenge("$fd", "2"); # flag not 0
exit;
}
# user authenticated - remove auth header
if(!is_method("REGISTER|PUBLISH"))
consume_credentials();
}
...
}
```
start eyebeam Version 1.5.14.4
```
eyebeam --->REGISTER ----> kamailio
<--401
(WWW-Authenticate: Digest realm="192.168.3.10", nonce=..., qop="auth-int")
--->REGISTER
(Authorization: Digest username="08001",realm="192.168.3.10",nonce=...,uri=...,response=...,cnonce=...,nc=00000001,qop=auth-int,algorithm=MD5)
<--401 (auth_challenge() return -2 )
```
OpenSIPS 3.4.12 register to kamailio, got the same result as eyebeam
Any suggestions?
Thanks!