]> 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>
Wed, 17 Sep 2025 17:40:14 +0000 (11:40 -0600)
commit33e7cfd0f77e9e5fff3d4b51fe20d83e83a13516
treec7bc4a39f951755ac620a57ded37cce6fe96fdc9
parent2c168d5afea14a49dbf428e6137d060445ea2c11
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
res/res_pjsip_nat.c