Hello,
our voip provider requires autentication to voip services. Trying to use
UAC module, I get "401 Unauthorized" packet, but looks like all ser based
programs have problems to parse this packet. Can somebody make a patch to
fix this?
Here is message from logs:
Jun 17 15:01:42 kamailio /usr/sbin/kamailio[1291]: ERROR: uac [auth_hdr.c:267]: parse
error in <DIGEST
realm="BroadWorks",qop="auth",algorithm=MD5,nonce="BroadWorksXgajlo4shTqsrkgdBW">
around 0
And ngrep sniffed packet:
SIP/2.0 401 Unauthorized.
Via: SIP/2.0/UDP 100.100.242.20;branch=z9hG4bK119f.8a41a626.0.
Via: SIP/2.0/UDP 100.100.16.77;branch=z9hG4bK119f.7cc235e.0.
Via: SIP/2.0/UDP 100.100.10.10;branch=z9hG4bK8ec5c892A88F71C9.
From: "Ondrej Jan" <sip:556807505@as.vvn.t-com.sk>;tag=89D71D23-32F3D9BC.
To: <sip:0248213335@as.vvn.t-com.sk;user=phone>;tag=1621075049-1276779704129.
CSeq: 2 INVITE.
Call-ID: 41c7437-58259a9d-d157be06(a)100.100.10.10.
WWW-Authenticate: DIGEST
realm="BroadWorks",qop="auth",algorithm=MD5,nonce="BroadWorksXgajlo4shTqsrkgdBW".
Content-Length: 0.
I tryed to look at sources, but this "C" code is too complicated for me. :-(
SAL