Module: kamailio
Branch: master
Commit: 75904895577d0329ba0d30d10e645b8769451e51
URL:
https://github.com/kamailio/kamailio/commit/75904895577d0329ba0d30d10e645b8…
Author: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-07-21T22:07:30+02:00
ims_registrar_scscf: added a new registrar event, notification improvements
- Added a new IMS registrar event: IMS_REGISTRAR_SUBSEQUENT_SUBSCRIBE -
used to skip NOTIFY msg after receiving of subsequent subscribe msg.
- Added a new parameter in event_reg(), create_notifications() and
notify_subscribers() methods: c_passed contact - used to mainly in
create_notification().
- Changes in create_notification() - the checks for sending NOTIFY
msgs have been expanded and the new parameter c_passed is used for
that.
- Changes in subscribe_to_reg() - sending NOTIFY only for the
initial subscriptions.
- Changes in generate_reginfo_full() - the old functionality with
all contacts in NOTIFY msg has been returned based on RFC3680. Added
mechanism to change all contact states from
CONTACT_EXPIRE_PENDING_NOTIFY to CONTACT_NOTIFY_READY after reginfo
generation.
---
Modified: src/modules/ims_registrar_scscf/cxdx_callbacks.c
Modified: src/modules/ims_registrar_scscf/reg_rpc.c
Modified: src/modules/ims_registrar_scscf/registrar_notify.c
Modified: src/modules/ims_registrar_scscf/registrar_notify.h
Modified: src/modules/ims_registrar_scscf/save.c
Modified: src/modules/ims_registrar_scscf/usrloc_cb.c
---
Diff:
https://github.com/kamailio/kamailio/commit/75904895577d0329ba0d30d10e645b8…
Patch:
https://github.com/kamailio/kamailio/commit/75904895577d0329ba0d30d10e645b8…