Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ims scscf notify improvements #2401

Merged
merged 2 commits into from Jul 21, 2020

Conversation

alexyosifov
Copy link
Contributor

Pre-Submission Checklist

  • Commit message has the format required by CONTRIBUTING guide
  • Commits are split per component (core, individual modules, libs, utils, ...)
  • Each component has a single commit (if not, squash them into one commit)
  • No commits to README files for modules (changes must be done to docbook files
    in doc/ subfolder, the README file is autogenerated)

Type Of Change

  • Small bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would change existing functionality)

Checklist:

  • PR should be backported to stable branches
  • Tested changes locally
  • Related to issue #XXXX (replace XXXX with an open issue number)

Description

    - Added a new contact state: CONTACT_NOTIFY_READY - protect the
      deletion of contact during the preparation of NOTIFY msg.
    - Improved mem_timer_udomain() - protect the deletion of contact
      during the preparation of NOTIFY msg.
    - Improved process_impurecord() - first doing the contacts'
      validity, then the subscribers' validity. This prevents contact
      from remaining in the database after deleting a subscriber.
…ements

    - 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.
@miconda
Copy link
Member

miconda commented Jul 21, 2020

If nobody has comments, then I guess it can be merged.

@henningw
Copy link
Contributor

Yes, last time when I was looking the lgtm checks were not finished yet.

@henningw henningw merged commit 7590489 into kamailio:master Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants