[SR-Users] Kamailio 4.16 - IMS Registration Failure
Kamal Palei
palei.kamal at gmail.com
Fri Oct 17 15:01:04 CEST 2014
Dear Carsten
I tried suggested command. Output as below.
*192:~$ host -t SRV _sip._udp.group1-imslab11.in
<http://udp.group1-imslab11.in>_sip._udp.group1-imslab11.in
<http://udp.group1-imslab11.in> has SRV record 0 0 5060
icscf.group1-imslab11.in <http://icscf.group1-imslab11.in>.192:~$*
Many thanks
Kamal
On Fri, Oct 17, 2014 at 6:25 PM, Carsten Bock <carsten at ng-voice.com> wrote:
> Hi,
>
> try the following:
> host -t SRV _sip._udp.group1-imslab11.i
>
> Thanks,
> Carsten
>
> 2014-10-17 14:50 GMT+02:00 Kamal Palei <palei.kamal at gmail.com>:
> > Dear Carsten
> > group1-imslab11.in points to same machine where all CSCFs are running.
> > In this case it is 192.168.1.100.
> >
> > From machine, where I run sip client, I pinged to group1-imslab11.in
> >
> > 192:~$ ping group1-imslab11.in
> > PING group1-imslab11.in (127.0.0.1) 56(84) bytes of data.
> > 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.025 ms
> > 64 bytes from localhost (127.0.0.1): icmp_req=2 ttl=64 time=0.033 ms
> >
> > What is painful is, I am not getting the way out..., how do I debug or
> > troubleshoot?
> >
> > Please guide me where I need to concentrate...,
> >
> > I doubt either DNS or dispatcher.list file....
> >
> > Many thanks
> > Kamal
> >
> >
> >
> >
> > On Fri, Oct 17, 2014 at 6:07 PM, Carsten Bock <carsten at ng-voice.com>
> wrote:
> >>
> >> Hi Kamal,
> >>
> >> where is group1-imslab11.in pointing to? Especially the SRV-records
> >> for that domain?
> >>
> >> Thanks,
> >> Carsten
> >>
> >> 2014-10-17 14:09 GMT+02:00 Kamal Palei <palei.kamal at gmail.com>:
> >> > 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
> >> > PING 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
> ms
> >> > 64 bytes from localhost (192.168.1.100): icmp_req=2 ttl=64 time=0.028
> ms
> >> > ^C
> >> > --- pcscf.group1-imslab11.in ping statistics ---
> >> > 2 packets transmitted, 2 received, 0% packet loss, time 1000ms
> >> > rtt min/avg/max/mdev = 0.028/0.032/0.037/0.007 ms
> >> > root 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
> >> > PING 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
> ms
> >> > 64 bytes from localhost (192.168.1.100): icmp_req=2 ttl=64 time=0.029
> ms
> >> > 64 bytes from localhost (192.168.1.100): icmp_req=3 ttl=64 time=0.024
> ms
> >> > ^C
> >> > --- icscf.group1-imslab11.in ping statistics ---
> >> > 3 packets transmitted, 3 received, 0% packet loss, time 1999ms
> >> > rtt min/avg/max/mdev = 0.023/0.025/0.029/0.004 ms
> >> > root at necs04:/etc/kamailio/pcscf#
> >> > root at necs04:/etc/kamailio/pcscf# ping scscf.group1-imslab11.in
> >> > PING 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
> ms
> >> > 64 bytes from localhost (192.168.1.100): icmp_req=2 ttl=64 time=0.022
> ms
> >> > 64 bytes from localhost (192.168.1.100): icmp_req=3 ttl=64 time=0.021
> ms
> >> > ^C
> >> > --- scscf.group1-imslab11.in ping statistics ---
> >> > 3 packets transmitted, 3 received, 0% packet loss, time 1998ms
> >> > rtt min/avg/max/mdev = 0.021/0.021/0.022/0.005 ms
> >> > root 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
> >> >
> >> > ; <<>> DiG 9.8.1-P1 <<>> naptr 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. IN NAPTR
> >> >
> >> > ;; ANSWER SECTION:
> >> > group1-imslab11.in. 86400 IN NAPTR 10 50 "s" "SIP+D2T" ""
> >> > _sip._tcp.pcscf.group1-imslab11.in.
> >> > group1-imslab11.in. 86400 IN NAPTR 10 50 "s" "SIP+D2U" ""
> >> > _sip._udp.pcscf.group1-imslab11.in.
> >> >
> >> > ;; AUTHORITY SECTION:
> >> > group1-imslab11.in. 86400 IN NS necs04.group1-imslab11.in
> .
> >> >
> >> > ;; ADDITIONAL SECTION:
> >> > pcscf.group1-imslab11.in. 86400 IN A 192.168.1.100
> >> > necs04.group1-imslab11.in. 86400 IN A 192.168.1.100
> >> > _sip._udp.pcscf.group1-imslab11.in. 86400 IN SRV 0 0 4060
> >> > 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: 259
> >> >
> >> > root 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 SIP/2.0
> >> > Via: SIP/2.0/TCP 192.168.1.114:49732;branch=z9hG4bK457115572
> >> > From: <sip:necs_0 at group1-imslab11.in>;tag=1068512852
> >> > To: <sip:necs_0 at group1-imslab11.in>
> >> > Call-ID: 1874336526
> >> > CSeq: 16 REGISTER
> >> > Contact:
> >> >
> >> > <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",
> >> > realm="pcscf.group1-imslab11.in", nonce=" ",
> >> > uri="sip:pcscf.group1-imslab11.in", response=" "
> >> > Max-Forwards: 70
> >> > User-Agent: NECS IMS client v1.01
> >> > Expires: 600000
> >> > Supported: path
> >> > Supported: gruu
> >> > Content-Length: 0
> >> >
> >> >
> >> > SIP/2.0 483 Too Many Hops
> >> > Via: SIP/2.0/TCP 192.168.1.114:49732;branch=z9hG4bK457115572
> >> > From: <sip:necs_0 at group1-imslab11.in>;tag=1068512852
> >> > To:
> >> >
> >> > <sip:necs_0 at group1-imslab11.in
> >;tag=68c95b6520b8472128534dfbca9fcb81.d739
> >> > Call-ID: 1874336526
> >> > CSeq: 16 REGISTER
> >> > Server: Kamailio P-CSCF
> >> > Content-Length: 0
> >> >
> >> >
> >> > Kindly somebody help me how I can troubleshoot and fix it.
> >> >
> >> > Many thanks
> >> > Kamal
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> >> > sr-users at lists.sip-router.org
> >> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >> >
> >>
> >>
> >>
> >> --
> >> Carsten Bock
> >> CEO (Geschäftsführer)
> >>
> >> ng-voice GmbH
> >> Schomburgstr. 80
> >> D-22767 Hamburg / Germany
> >>
> >> http://www.ng-voice.com
> >> mailto:carsten at ng-voice.com
> >>
> >> Office +49 40 5247593-0
> >> Fax +49 40 5247593-99
> >>
> >> Sitz der Gesellschaft: Hamburg
> >> Registergericht: Amtsgericht Hamburg, HRB 120189
> >> Geschäftsführer: Carsten Bock
> >> Ust-ID: DE279344284
> >>
> >> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> >> http://www.ng-voice.com/imprint/
> >>
> >> _______________________________________________
> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >> sr-users at lists.sip-router.org
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
> >
> > _______________________________________________
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users at lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
>
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Schomburgstr. 80
> D-22767 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:carsten at ng-voice.com
>
> Office +49 40 5247593-0
> Fax +49 40 5247593-99
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141017/b6dae50a/attachment.html>
More information about the sr-users
mailing list