]> 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)
committerMike Bradeen <mbradeen@sangoma.com>
Tue, 13 May 2025 16:48:00 +0000 (16:48 +0000)
commit0a249440015af0725849af5b2fd82b951e007ee4
tree314d79c0b61ef4ceae1effe2c5e9976541072c93
parenta5ac74ef68535f1db0496465a664eb99bd3ff2a7
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