]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Make sure NAT hook runs when packet is retransmitted for whatever...
authorArcadiy Ivanov <arcadiy@ivanov.biz>
Wed, 14 Jan 2026 18:29:24 +0000 (13:29 -0500)
committergithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thu, 26 Feb 2026 14:06:14 +0000 (14:06 +0000)
commit28f62ec1e8a452d29f2bd77bf7add435596dcad4
tree58c7c8e35b15d206a54b37e46f4e7683aa1bd66c
parent773870a06e9418bf8039d60b94cd30a7ea384d63
res_pjsip_session: Make sure NAT hook runs when packet is retransmitted for whatever reason.

This hook may not be necessary when we do a retransmit, but when there are two
INVITEs, one *initial* and one with auth digest, the second INVITE contains wrong (unmodified) media address
due to the commented line below.
The NAT hook needs to run due to filters potentially reverting previously modified packets.

Fixes: #449
res/res_pjsip_session.c