[SR-Users] Kamailio 4.16 - IMS Registration Failure

Kamal Palei palei.kamal at gmail.com
Fri Oct 17 14:09:44 CEST 2014


Dear All
I have tried a lot and looks getting Kamailio IMS setup is very difficult
and no proper documentation available. Though I have setup all CSCFs and
FHoSS , still REGISTRATION fails with 483 response.

I have setup DNS properly as shown below.


































*root at necs04:/etc/kamailio/pcscf# root at necs04:/etc/kamailio/pcscf# ping
pcscf.group1-imslab11.in <http://pcscf.group1-imslab11.in>PING
pcscf.group1-imslab11.in <http://pcscf.group1-imslab11.in> (192.168.1.100)
56(84) bytes of data.64 bytes from localhost (192.168.1.100): icmp_req=1
ttl=64 time=0.037 ms64 bytes from localhost (192.168.1.100): icmp_req=2
ttl=64 time=0.028 ms^C--- pcscf.group1-imslab11.in
<http://pcscf.group1-imslab11.in> ping statistics ---2 packets transmitted,
2 received, 0% packet loss, time 1000msrtt min/avg/max/mdev =
0.028/0.032/0.037/0.007 msroot at necs04:/etc/kamailio/pcscf#
root at necs04:/etc/kamailio/pcscf# root at necs04:/etc/kamailio/pcscf#
root at necs04:/etc/kamailio/pcscf# ping icscf.group1-imslab11.in
<http://icscf.group1-imslab11.in>PING icscf.group1-imslab11.in
<http://icscf.group1-imslab11.in> (192.168.1.100) 56(84) bytes of data.64
bytes from localhost (192.168.1.100): icmp_req=1 ttl=64 time=0.023 ms64
bytes from localhost (192.168.1.100): icmp_req=2 ttl=64 time=0.029 ms64
bytes from localhost (192.168.1.100): icmp_req=3 ttl=64 time=0.024 ms^C---
icscf.group1-imslab11.in <http://icscf.group1-imslab11.in> ping statistics
---3 packets transmitted, 3 received, 0% packet loss, time 1999msrtt
min/avg/max/mdev = 0.023/0.025/0.029/0.004
msroot at necs04:/etc/kamailio/pcscf# root at necs04:/etc/kamailio/pcscf# ping
scscf.group1-imslab11.in <http://scscf.group1-imslab11.in>PING
scscf.group1-imslab11.in <http://scscf.group1-imslab11.in> (192.168.1.100)
56(84) bytes of data.64 bytes from localhost (192.168.1.100): icmp_req=1
ttl=64 time=0.022 ms64 bytes from localhost (192.168.1.100): icmp_req=2
ttl=64 time=0.022 ms64 bytes from localhost (192.168.1.100): icmp_req=3
ttl=64 time=0.021 ms^C--- scscf.group1-imslab11.in
<http://scscf.group1-imslab11.in> ping statistics ---3 packets transmitted,
3 received, 0% packet loss, time 1998msrtt min/avg/max/mdev =
0.021/0.021/0.022/0.005 msroot at necs04:/etc/kamailio/pcscf# *

Also dig result is as shown below.































*root at necs04:/etc/kamailio/pcscf# root at necs04:/etc/kamailio/pcscf# dig
naptr group1-imslab11.in <http://group1-imslab11.in>; <<>> DiG 9.8.1-P1
<<>> naptr group1-imslab11.in <http://group1-imslab11.in>;; global options:
+cmd;; Got answer:;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
10919;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL:
3;; QUESTION SECTION:;group1-imslab11.in <http://group1-imslab11.in>.
    IN    NAPTR;; ANSWER SECTION:group1-imslab11.in
<http://group1-imslab11.in>.    86400    IN    NAPTR    10 50 "s" "SIP+D2T"
"" _sip._tcp.pcscf.group1-imslab11.in
<http://tcp.pcscf.group1-imslab11.in>.group1-imslab11.in
<http://group1-imslab11.in>.    86400    IN    NAPTR    10 50 "s" "SIP+D2U"
"" _sip._udp.pcscf.group1-imslab11.in
<http://udp.pcscf.group1-imslab11.in>.;; AUTHORITY
SECTION:group1-imslab11.in <http://group1-imslab11.in>.    86400    IN
NS    necs04.group1-imslab11.in <http://necs04.group1-imslab11.in>.;;
ADDITIONAL SECTION:pcscf.group1-imslab11.in
<http://pcscf.group1-imslab11.in>. 86400    IN    A
192.168.1.100necs04.group1-imslab11.in <http://necs04.group1-imslab11.in>.
86400 IN    A    192.168.1.100_sip._udp.pcscf.group1-imslab11.in
<http://udp.pcscf.group1-imslab11.in>. 86400 IN SRV 0 0 4060
pcscf.group1-imslab11.in <http://pcscf.group1-imslab11.in>.;; Query time: 0
msec;; SERVER: 192.168.1.100#53(192.168.1.100);; WHEN: Fri Oct 17 17:34:22
2014;; MSG SIZE  rcvd: 259root at necs04:/etc/kamailio/pcscf# *

When I send a REGISTER message from a sip client, I get 483 Too Many Hops.


I am totally clueless whats going wrong.

Can somebody guide me , where is the fault.



On thing I do not understand is dispatcher.list stuff.

So I have kept empty disptacher.list file for PCSCF and SCSCF.
Can that be an issue.


The REGISTER and 483 response looks as below.















*REGISTER sip:pcscf.group1-imslab11.in <http://pcscf.group1-imslab11.in>
SIP/2.0Via: SIP/2.0/TCP 192.168.1.114:49732;branch=z9hG4bK457115572From:
<sip:necs_0 at group1-imslab11.in
<sip%3Anecs_0 at group1-imslab11.in>>;tag=1068512852To:
<sip:necs_0 at group1-imslab11.in <sip%3Anecs_0 at group1-imslab11.in>>Call-ID:
1874336526CSeq: 16 REGISTERContact:
<sip:necs_0 at 192.168.1.114:49732;transport=TCP;line=a126427bb8e82c9>;+sip.instance="<urn:uuid:2dab9970-55f5-11e4-ae19-41032d8f6492>"Authorization:
Digest username="necs_0 at group1-imslab11.in <necs_0 at group1-imslab11.in>",
realm="pcscf.group1-imslab11.in <http://pcscf.group1-imslab11.in>", nonce="
", uri="sip:pcscf.group1-imslab11.in <http://pcscf.group1-imslab11.in>",
response=" "Max-Forwards: 70User-Agent: NECS IMS client v1.01Expires:
600000Supported: pathSupported: gruuContent-Length: 0*










*SIP/2.0 483 Too Many HopsVia: SIP/2.0/TCP
192.168.1.114:49732;branch=z9hG4bK457115572From:
<sip:necs_0 at group1-imslab11.in
<sip%3Anecs_0 at group1-imslab11.in>>;tag=1068512852To:
<sip:necs_0 at group1-imslab11.in
<sip%3Anecs_0 at group1-imslab11.in>>;tag=68c95b6520b8472128534dfbca9fcb81.d739Call-ID:
1874336526CSeq: 16 REGISTERServer: Kamailio P-CSCFContent-Length: 0*
Kindly somebody help me how I can troubleshoot and fix it.

Many thanks
Kamal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141017/72e772eb/attachment.html>


More information about the sr-users mailing list