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

Fix comparision of SIP URIs, add GR and PN related params checks #3448

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

vladpaiu
Copy link
Member

Summary
In the case of multiple push notification devices registering same URI@HOST but with different PN related params, OpenSIPS was not comparing the URIs properly and overriding old registrations with new ones.

Solution
Do proper SIP URI comparison.

Compatibility
Backwards compatible.

@vladpaiu vladpaiu added the bug label Aug 22, 2024
@vladpaiu vladpaiu added this to the 3.6-dev milestone Aug 22, 2024
@liviuchircu liviuchircu self-assigned this Aug 22, 2024
@liviuchircu
Copy link
Member

Nice catch, @vladpaiu! Interesting to note that the new params made it into print_uri(), but not into compare_uris()...

@liviuchircu liviuchircu merged commit 96c8e2d into OpenSIPS:master Aug 22, 2024
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants