Skip to content

mid_registrar: persist TCP connections for absorbed REGISTERs - #4245

Open
greenbea wants to merge 1 commit into
OpenSIPS:masterfrom
greenbea:fix_mid_regstrar_tcp_persistant
Open

mid_registrar: persist TCP connections for absorbed REGISTERs#4245
greenbea wants to merge 1 commit into
OpenSIPS:masterfrom
greenbea:fix_mid_regstrar_tcp_persistant

Conversation

@greenbea

@greenbea greenbea commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary
When tcp_persistent_flag is enabled, TCP connection lifetime is updated only after a forwarded REGISTER receives a successful response.

Absorbed REGISTERs return a local 200 OK without extending the receiving connection, leaving new or refreshed connections at the default lifetime.

Details

Solution
Apply the UAC Contact expiration to the TCP connection in the quick_reply path, matching the existing behavior for forwarded registrations.

Compatibility

Closing issues

When `tcp_persistent_flag` is enabled, TCP connection lifetime is updated
only after a forwarded REGISTER receives a successful response.

Absorbed REGISTERs return a local 200 OK without extending the receiving
connection, leaving new or refreshed connections at the default lifetime.

Apply the UAC Contact expiration to the TCP connection in the `quick_reply`
path, matching the existing behavior for forwarded registrations.
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.

3 participants