I've noticed a problem with registrations on the pcscf when doing some
testing with sipp
If I send in a REGISTER with SIPP followed by an INVITE calls go through
my system no problem.
If I then stop the sipp script and run it again, I find that although
the registration succeeds, subsequent INVITES are rejected telling me
that I have not registered!
If I unregister at the end of my script everything is fine, and the
problem goes away after the original REGISTRATION times out, so this led
me to think that we had a problem with multiple registrations entries in
the system.
The problem seems to be a result of the fact that sipp always places the
same ip address and port number on the contact line when using tcp
connections.
I've had a look through the code and believe that we are getting
multiple entries in the usrloc hash table in this scenario, and
ul_get_pcontact only ever returns the first one which causes
pcscf_is_registered to incorrectly report that the UE is not registered.
Paul
Hi,
seems like CDP module is giving us hard time in last few days. For some
reason s-cscf and i-cscf is loosing connection to HSS and is not even
trying to close socket nor trying to reconnect back. Here is what I see
on the kamailio node:
Name : kamailio Relocations: (not relocatable)
Version : 4.2.0 Vendor: kamailio.org
Release : dev0.0.el6 Build Date: Wed Dec 18
12:46:11 2013
[root@kamailio-4-1-staging kamailio]# netstat -apn | grep 3868
tcp 0 0 10.96.173.17:34915 10.96.173.18:3868
CLOSE_WAIT 10087/kamailio
tcp 0 0 10.96.173.17:35361 10.96.173.18:3868
CLOSE_WAIT 19308/kamailio
[root@kamailio-4-1-staging kamailio]#
and HSS:
[root@hss-config-staging phss-sop]# netstat -apn | grep 3868
tcp 0 0 10.96.173.18:3868 0.0.0.0:*
LISTEN 10549/ugc_server
[root@hss-config-staging phss-sop]#
I have core files (created by gcore) if this helps.
thanks
Dan
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.
Hi list,
Could anyone tell me if there is a symmetric way to "de-init" kamailio
child processes as it is done with child_init_function.
Actual use case is to open connect only in timer module (for periodic
checks) and some how close it before kamailio is stopped. So at the moment
I use child_init_function to open connect but have no idea how to close it
since destroy_function is called only for proc_main AFTER all childs are
terminated.
TY!
--
Best regards,
Alekzander Spiridonov
Module: sip-router
Branch: master
Commit: 784280cfacf0f1459481aab12bb2739bd3ab84cd
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=784280c…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Richard Good <richard.good(a)smilecoms.com>
Date: Fri Jan 31 09:42:59 2014 +0200
modules/ims_registrar_scscf: New features to fully support subscription to reg_event
Main change to support PUBLISH of reg event information
And to use new usrloc API storage of callid/totag/fromtag presentity combination to correctly process usbsequent SUBSCRIBE
---
modules/ims_registrar_scscf/reg_mod.c | 2 +
modules/ims_registrar_scscf/registrar_notify.c | 658 +++++++++++++++++++++++-
modules/ims_registrar_scscf/registrar_notify.h | 5 +
modules/ims_registrar_scscf/save.c | 65 ++-
modules/ims_registrar_scscf/save.h | 1 +
modules/ims_registrar_scscf/usrloc_cb.c | 5 +-
6 files changed, 692 insertions(+), 44 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=784…
Module: sip-router
Branch: master
Commit: ddc93ce8a9b39faf29e0a2f6b1fa5a48609945ce
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=ddc93ce…
Author: Richard Good <richard.good(a)smilecoms.com>
Committer: Richard Good <richard.good(a)smilecoms.com>
Date: Fri Jan 31 09:45:55 2014 +0200
modules/ims_registrar_pcscf: New features to support P-CSCF subscription and publishing reg event
Migrated pua_reginfo functionality to ims_registrar_pcscf so ims_usrloc_pcscf is used
New features include subscribing to reg event on Registration, processing notifications and publishing when reg event changes
---
modules/ims_registrar_pcscf/notify.c | 421 +++++++++++++++++++++++++++++
modules/ims_registrar_pcscf/notify.h | 37 +++
modules/ims_registrar_pcscf/reg_mod.c | 71 +++--
modules/ims_registrar_pcscf/save.c | 56 ++++-
modules/ims_registrar_pcscf/subscribe.c | 106 ++++++++
modules/ims_registrar_pcscf/subscribe.h | 41 +++
modules/ims_registrar_pcscf/ul_callback.c | 377 +++++++++++++++-----------
7 files changed, 923 insertions(+), 186 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=ddc…