Hello,
We have one particular device which won't authenticate with Kamailio, and
are looking for any insight into why. When Kamailio receives the REGISTER
it logs:
Nov 17 17:50:37 sip /sbin/kamailio[2293367]: ERROR: {1 2 REGISTER
mrXSmu5Gh} <core> [core/parser/digest/digest.c:323]: find_credentials():
error while parsing credentials
Nov 17 17:50:37 sip /sbin/kamailio[2293367]: ERROR: {1 2 REGISTER
mrXSmu5Gh} auth [api.c:73]: pre_auth(): Error while looking for credentials
A redacted copy of the REGISTER is below. I note two unusual things:
- On the Authorization header it says "[truncated]Authorization".
- It includes a "cnonce" (client nonce) in the Authorization data, which is
unusual compared to our other SIP devices.
Thanks in advance!
Session Initiation Protocol (REGISTER)
Request-Line: REGISTER sip:sip.example.com:5060 SIP/2.0
Message Header
To: "C25" <sip:[email protected]>
SIP to display info: "C25"
SIP to address: sip:[email protected]
SIP to address User Part: 123456789
SIP to address Host Part: sip.example.com
From: "C25" <sip:[email protected]>;tag=mmVG392Qv
SIP from display info: "C25"
SIP from address: sip:[email protected]
SIP from tag: mmVG392Qv
Contact: <sip:[email protected]:65477;transport=udp>
Contact URI: sip:[email protected]:65477;transport=udp
Via: SIP/2.0/UDP 11.22.221.114:65477;branch=z9hG4bK.X0v8d63yc
CSeq: 2 REGISTER
Call-ID: iYC5fcJqy
[Generated Call-ID: iYC5fcJqy]
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, BYE, OPTIONS, NOTIFY
User-Agent: Rogue sip 7.1.11 (stm32mp15-ya157c-v2) linux
Expires: 3600
[truncated]Authorization: Digest realm="sip.example.com",
nonce="aRvGYGkbxTQrS5pTzBoahdefo1xCqskN", algorithm=MD5,
username="123456789", uri="sip:sip.example.com:5060",
response="ab717ce439c666e9b5651d0dc74dff9a", cnonce="MzrTCxYCoCPxZ
Authentication Scheme: Digest
Realm: "sip.example.com"
Nonce Value: "aRvGYGkbxTQrS5pTzBoahdefo1xCqskN"
Algorithm: MD5
Username: "123456789"
Authentication URI: "sip:sip.example.com:5060"
Digest Authentication Response:
"ab717ce439c666e9b5651d0dc74dff9a"
CNonce Value: "MzrTCxYCoCPxZ91a"
Nonce Count: 00000001
QOP:
Content-Length: 0
--
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions --
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the
sender!