[OpenSIPS-Devel] [OpenSIPS/opensips] e3a1c2: registrar: Honor pn_refresh_timeout for PN branch ...
Liviu Chircu
noreply at github.com
Wed May 27 16:35:24 UTC 2026
Branch: refs/heads/4.0
Home: https://github.com/OpenSIPS/opensips
Commit: e3a1c2867acb9e67dcc0fae837744df503518019
https://github.com/OpenSIPS/opensips/commit/e3a1c2867acb9e67dcc0fae837744df503518019
Author: Liviu Chircu <liviu at opensips.org>
Date: 2026-05-27 (Wed, 27 May 2026)
Changed paths:
M lib/reg/pn.c
M modules/event_routing/api.h
M modules/event_routing/ebr_data.c
M modules/event_routing/ebr_data.h
M modules/event_routing/event_routing.c
M modules/tm/t_fwd.c
M modules/tm/t_fwd.h
M modules/tm/tm.c
M modules/tm/tm_load.h
Log Message:
-----------
registrar: Honor pn_refresh_timeout for PN branch waits
pn_refresh_timeout was only limiting the EBR subscription lifetime. For
initial INVITEs to PN-only contacts, the TM phony branch created by
t_wait_for_new_branches() could remain pending until fr_inv_timeout
after the PN refresh window had already expired.
Add opt-in EBR expiry notifications for function-based NOTIFY subs and
use them from registrar PN handling. On subscription expiry, release
the associated TM phony branch through a new TM bind which can resolve
the EBR remote transaction reference and generate a local 408 for that
branch. Matching contact updates continue to inject the refreshed
branch as before.
This caps the PN-only INVITE wait at pn_refresh_timeout without
shortening timers for real branches in mixed lookups.
(cherry picked from commit 57508c49eb220b8c31e8bd9e1a6117c60b0f51b9)
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list