Skip to content

Fix presence NOTIFY CSeq resets for BLF subscriptions after new year rollover#3056

Open
junction1153b wants to merge 1 commit into
signalwire:masterfrom
junction1153b:newyear_poly_cseq
Open

Fix presence NOTIFY CSeq resets for BLF subscriptions after new year rollover#3056
junction1153b wants to merge 1 commit into
signalwire:masterfrom
junction1153b:newyear_poly_cseq

Conversation

@junction1153b

Copy link
Copy Markdown
Contributor

This change persists per-subscription NOTIFY CSeq state for SIP presence/BLF subscriptions instead of relying on the year-relative global presence CSeq generator. It prevents Polycom phones from receiving backwards NOTIFY CSeq values after Jan 1 rollover or FreeSWITCH restarts when subscription state is retained.

It also rejects stale in-dialog SUBSCRIBE refreshes with 481 Subscription Does Not Exist when FreeSWITCH no longer has matching subscription state, allowing endpoints to create a clean new subscription dialog. A high-water guard retires subscriptions before CSeq exhaustion so long-lived dialogs do not repeat or wrap CSeq values.

…ear rollover

This change persists per-subscription NOTIFY CSeq state for SIP presence/BLF subscriptions instead of relying on the year-relative global presence CSeq generator. It prevents Polycom phones from receiving backwards NOTIFY CSeq values after Jan 1 rollover or FreeSWITCH restarts when subscription state is retained.

It also rejects stale in-dialog SUBSCRIBE refreshes with 481 Subscription Does Not Exist when FreeSWITCH no longer has matching subscription state, allowing endpoints to create a clean new subscription dialog. A high-water guard retires subscriptions before CSeq exhaustion so long-lived dialogs do not repeat or wrap CSeq values.
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.

2 participants