]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_nat.c: Do not overwrite transfer host
authorMike Bradeen <mbradeen@sangoma.com>
Thu, 8 May 2025 18:12:33 +0000 (12:12 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 26 Jun 2025 18:25:12 +0000 (12:25 -0600)
commita9bbbe05c617681b14b5f5cff862f58721fd0e21
tree46d358afeb93421e8cdf5ff6916fae3dab4146b4
parent73a345463ebddf67e4b773d04ef3082f41b6cd34
res_pjsip_nat.c: Do not overwrite transfer host

When a call is transfered via dialplan behind a NAT, the
host portion of the Contact header in the 302 will no longer
be over-written with the external NAT IP and will retain the
hostname.

Fixes: #1141
(cherry picked from commit 36a2fa2de7d7cd339a2d6d0e24b686dd9047a80b)
res/res_pjsip_nat.c