[OpenSIPS-Devel] [OpenSIPS/opensips] 8832a4: tm: Fix context for PN timeout 408
Liviu Chircu
noreply at github.com
Thu Jun 25 15:34:39 UTC 2026
Branch: refs/heads/3.6
Home: https://github.com/OpenSIPS/opensips
Commit: 8832a4461dab35ac56e2c4b81c0fcb6edcf93690
https://github.com/OpenSIPS/opensips/commit/8832a4461dab35ac56e2c4b81c0fcb6edcf93690
Author: Liviu Chircu <liviu at opensips.org>
Date: 2026-06-25 (Thu, 25 Jun 2026)
Changed paths:
M modules/tm/t_fwd.c
Log Message:
-----------
tm: Fix context for PN timeout 408
Commit 5dbbd997f7 added a PN wait timeout path which sends a local 408
when the EBR subscription expires, but called relay_reply() without the
normal TM reply context.
Install a temporary global context, set the current transaction and branch
index while generating the fake 408, then restore them afterwards. This
prevents dialog reply callbacks from crashing on PN timeout.
To unsubscribe from these emails, change your notification settings at https://github.com/OpenSIPS/opensips/settings/notifications
More information about the Devel
mailing list