]> 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)
commit36a2fa2de7d7cd339a2d6d0e24b686dd9047a80b
tree79005cc1dec603943f545bdaa83668d0b30eb9d7
parentba4680f7ec0c6aebd0952d6052d10c7e3cb99005
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