[SR-Users] Kamailio IMS deployment

sainath.ellendula at wipro.com sainath.ellendula at wipro.com
Tue Feb 9 12:01:31 CET 2016


Hi Franz,

Thanks for your response.

Even we observed in Wireshark traces, no username is included in REGISTER request. Any changes required?
No, we are not using NATURAL in our platform.
Observed there is no communication between PCSCF – ICSCF while registration and also attaching the tracefile(tcpdump) using command “tcpdump -i any -s 3000 -w /var/tmp/trace_OpenIMS.pcap not port 22 and not port 3306”.

Please suggest me if I have missed anything.

Regards,
Sainath

From: Franz Edler [mailto:franz.edler at technikum-wien.at]
Sent: Tuesday, February 9, 2016 1:01 PM
To: Sainath Ellendula (NEP) <sainath.ellendula at wipro.com>
Cc: basitstar at hotmail.com; sr-users at lists.sip-router.org
Subject: AW: RE: Re:[SR-Users] Kamailio IMS deployment

The REGISTER request is OK.  There is no username included in REGISTER request.
Regarding the mismatch: do you use NATURAL on your platform?

Next step should be a tracefile (tcpdump) and later a debug-log from the node which shows the problem.


Von Samsung-Tablet gesendet
-------- Ursprüngliche Nachricht --------
Von: sainath.ellendula at wipro.com<mailto:sainath.ellendula at wipro.com>
Datum: 2016.02.09 08:05 (GMT+01:00)
An: franz.edler at technikum-wien.at<mailto:franz.edler at technikum-wien.at>
Cc: basitstar at hotmail.com<mailto:basitstar at hotmail.com>, sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
Betreff: RE: Re:[SR-Users] Kamailio IMS deployment

Hi Franz,

Please find ping status and seems good.

root at server:~# ping -c 1 hss.net1.test
PING hss.net1.test (10.0.0.9) 56(84) bytes of data.
64 bytes from server.net1.test (10.0.0.9): icmp_seq=1 ttl=64 time=0.017 ms

--- hss.net1.test ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.017/0.017/0.017/0.000 ms

root at server:~# ping -c 1 pcscf.net1.test
PING pcscf.net1.test (10.0.0.10) 56(84) bytes of data.
64 bytes from server.net1.test (10.0.0.10): icmp_seq=1 ttl=64 time=0.020 ms

--- pcscf.net1.test ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.020/0.020/0.020/0.000 ms

root at server:~# ping -c 1 icscf.net1.test
PING icscf.net1.test (10.0.0.11) 56(84) bytes of data.
64 bytes from server.net1.test (10.0.0.11): icmp_seq=1 ttl=64 time=0.018 ms

--- icscf.net1.test ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.018/0.018/0.018/0.000 ms

root at server:~# ping -c 1 scscf.net1.test
PING scscf.net1.test (10.0.0.12) 56(84) bytes of data.
64 bytes from server.net1.test (10.0.0.12): icmp_seq=1 ttl=64 time=0.017 ms

--- scscf.net1.test ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.017/0.017/0.017/0.000 ms
root at server:~#

Seems Some progress happened:

Tried register using Boghe IMS client and observed few errors:

0(1445) INFO: <script>:  [REGISTER] from [sip:alice at net1.test] to [sip:alice at net1.test]
0(1445) ERROR: <script>: REGISTER (sip:alice at net1.test (10.0.0.8:55280) to sip:alice at net1.test, 2006cdca-0076-bacb-5010-bffa714b3cdb)
0(1445) DEBUG: <core> [parser/msg_parser.c:153]: get_hdr_field(): get_hdr_field: cseq <CSeq>: <7994> <REGISTER>
0(1445) DEBUG: <core> [parser/msg_parser.c:187]: get_hdr_field(): DEBUG: get_hdr_body : content_length=0
0(1445) DEBUG: maxfwd [mf_funcs.c:85]: is_maxfwd_present(): value = 70
0(1445) DEBUG: <core> [parser/msg_parser.c:89]: get_hdr_field(): found end of header
0(1445) DEBUG: sanity [mod_sanity.c:248]: w_sanity_check(): sanity checks result: 1
0(1445) DEBUG: siputils [checks.c:97]: has_totag(): no totag
0(1445) DEBUG: <core> [select.c:412]: run_select(): Calling SELECT 0x7fb548dd2400
0(1445) DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=1 T start=0xffffffffffffffff
0(1445) DEBUG: tm [t_lookup.c:466]: t_lookup_request(): t_lookup_request: start searching: hash=65064, isACK=0
0(1445) DEBUG: tm [t_lookup.c:424]: matching_3261(): DEBUG: RFC3261 transaction matching failed
0(1445) DEBUG: tm [t_lookup.c:648]: t_lookup_request(): DEBUG: t_lookup_request: no transaction found
0(1445) DEBUG: tm [t_lookup.c:1080]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=2 T end=(nil)
0(1445) DEBUG: sl [sl.c:280]: send_reply(): reply in stateless mode (sl)
0(1445) DEBUG: siputils [checks.c:97]: has_totag(): no totag
0(1445) DEBUG: tm [t_lookup.c:1011]: t_check_msg(): DEBUG: t_check_msg: msg id=2 global id=2 T start=(nil)
0(1445) DEBUG: tm [t_lookup.c:1086]: t_check_msg(): DEBUG: t_check_msg: T previously sought and not found
0(1445) DEBUG: ims_registrar_pcscf [save.c:273]: save_pending(): contact requesting to expire in 600000 seconds
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:106]: get_alias_host_from_contact(): no alias param
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:155]: get_hash_slot(): using host for hash [10.0.0.8]
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:159]: get_hash_slot(): Returning hash slot: [167]
0(1445) DEBUG: ims_usrloc_pcscf [udomain.c:465]: get_pcontact(): Searching for contact in P-CSCF usrloc [sip:alice at 10.0.0.8:55280;transport=udp]
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:106]: get_alias_host_from_contact(): no alias param
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:183]: get_aor_hash(): using host for hash [10.0.0.8]
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:187]: get_aor_hash(): Returning hash slot: [1662767783]
0(1445) DEBUG: ims_usrloc_pcscf [udomain.c:483]: get_pcontact(): Comparing needle user at host:port [alice at 10.0.0.8:55280] and contact_user at contact_host:port [alice at 10.0.0.8:51219]
0(1445) DEBUG: ims_usrloc_pcscf [udomain.c:494]: get_pcontact(): Searching for [sip:alice at 10.0.0.8:55280;transport=udp] and comparing to [sip:alice at 10.0.0.8:51219;transport=udp]
0(1445) DEBUG: ims_usrloc_pcscf [udomain.c:553]: get_pcontact(): Port don't match: 51219 (contact) 51219 (received) != 55280!
0(1445) DEBUG: ims_registrar_pcscf [save.c:310]: save_pending(): Adding pending pcontact: <sip:alice at 10.0.0.8:55280;transport=udp>
0(1445) DEBUG: ims_usrloc_pcscf [pcontact.c:132]: new_pcontact(): New contact [<sip:alice at 10.0.0.8:55280;transport=udp>] with 0 associated IMPUs in state: [registration pending]
0(1445) DEBUG: ims_registrar_pcscf [save.c:314]: save_pending(): registering for UL callback
0(1445) DEBUG: ims_usrloc_pcscf [usrloc.c:106]: get_alias_host_from_contact(): no alias param

Please guide me for any more changes has to be done, As observed in Wireshark(Register request from 10.0.0.8(host)-PCSCF as REGISTER sip:net1.test SIP/2.0). I think the register request should sent as REGISTER sip:alice at net1.test SIP/2.0

Thanks in advance!!

Regards,
Sainath

From: Franz Edler [mailto:franz.edler at technikum-wien.at]
Sent: Tuesday, February 9, 2016 3:00 AM
To: Sainath Ellendula (NEP) <sainath.ellendula at wipro.com<mailto:sainath.ellendula at wipro.com>>
Cc: basitstar at hotmail.com<mailto:basitstar at hotmail.com>; sr-users at lists.sip-router.org<mailto:sr-users at lists.sip-router.org>
Subject: RE: Re:[SR-Users] Kamailio IMS deployment

Sainath,

what was the result for ping on
- icsct.net1.test
- scscf.net1.test
- hss.net1.test

to increase debug level you have to modify the corresponding cfg-file, e.g. kamailio-icscf.cfg in line 35: debug=2
Just increase to debug=3 and then start the process again.

BR Franz
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com<http://www.wipro.com>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160209/cd73df24/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trace_OpenIMS.pcap
Type: application/octet-stream
Size: 20888 bytes
Desc: trace_OpenIMS.pcap
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20160209/cd73df24/attachment.obj>


More information about the sr-users mailing list