Module: sip-router Branch: master Commit: 5f49f1ab481ef4c8b9fc236d905485390969f894 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=5f49f1ab...
Author: Richard Good richard.good@smilecoms.com Committer: Richard Good richard.good@smilecoms.com Date: Fri May 2 12:14:00 2014 +0200
modules/ims_registrar_scscf: added mod_param ue_unsubscribe_on_dereg New mod param ue_unsubscribe_on_dereg: for UEs that do no send UNSUBSCRIBE for reg event when deregistering
---
modules/ims_registrar_scscf/reg_mod.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/ims_registrar_scscf/reg_mod.c b/modules/ims_registrar_scscf/reg_mod.c index 7194588..30898b2 100644 --- a/modules/ims_registrar_scscf/reg_mod.c +++ b/modules/ims_registrar_scscf/reg_mod.c @@ -91,6 +91,9 @@ int scscf_support_wildcardPSI = 0; char *scscf_name = "sip:scscf2.ims.smilecoms.com:6060"; /* default scscf_name - actual should be set via parameter*/ int store_data_on_dereg = 0; /**< should we store SAR data on de-registration */
+int ue_unsubscribe_on_dereg = 0; /*many UEs do not unsubscribe on de reg - therefore we should remove their subscription and not send a notify + Some UEs do unsubscribe then everything is fine*/ + /* parameters storage */ char* cxdx_dest_realm_s = "ims.smilecoms.com"; str cxdx_dest_realm; @@ -242,6 +245,7 @@ static param_export_t params[] = { {"subscription_default_expires", INT_PARAM, &subscription_default_expires}, {"subscription_min_expires", INT_PARAM, &subscription_min_expires}, {"subscription_max_expires", INT_PARAM, &subscription_max_expires}, + {"ue_unsubscribe_on_dereg", INT_PARAM, &ue_unsubscribe_on_dereg},
{0, 0, 0} };