]> 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:01 +0000 (16:48 +0000)
commit00628134b032f441c6621901d900d94d1c47ed58
tree1dbd833d45081da4791907a309f7803a207bfaba
parenta13faeecf8fd443c921f4c03f1f399bb076de2c9
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