[SR-Users] sipml5 register to kamailio IMS (Unauthorized - Challenging the UE)

Serhat Guler srtguler at gmail.com
Fri Oct 14 17:40:52 CEST 2016


Hi,

I am trying to register sipml5 webrtc client to my kamailio IMS setup. I
have tried to register the client both with ws and wss, but it seems to be
that the sipml5 doesn't calculate the authentication digest right. The
authentication mechanism i set to AKAv1-MD5 as default in the hss. A simple
wireshark file is attached. .10 being the host, .11 being the kamailio
server.

>From the output of scscf we can see that the digests do not match.

[REGISTER] from [sip:bob at net1.test] to [sip:bob at net1.test]
ims_auth [authorize.c:824]: authenticate(): uri=sip:net1.test
nonce=rB2iDuerHwoy+LUStSOsYojAESfWmAAApFZ3XNB8FdA=
response=61cbdbeb47c9880ededfca51c3801800 qop=auth-int nc=00000001
cnonce=2d4545cf4c935c8094c8b1da3d4a2976
hbody=d41d8cd98f00b204e9800998ecf8427e
ims_auth [authorize.c:872]: authenticate(): UE said:
61cbdbeb47c9880ededfca51c3801800 and we expect
7e27ef414cf37d96cd1c849bb7e59415 ha1 a53988ba0b257941bc747b1026225c77
(REGISTER)
tm [tm.c:1265]: w_t_reply(): ERROR: t_reply: cannot send a t_reply to a
message for which no T-state has been established

Thanks a lot,
Serhat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161014/d1351ca8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jssip.ws.pcap
Type: application/octet-stream
Size: 19268 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20161014/d1351ca8/attachment.obj>


More information about the sr-users mailing list