]> 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:10:20 +0000 (12:10 -0600)
commitfaf6609b5918938d03d874b6a6c4f15b055d2529
treee865ad30ca56698168cccab38489f8b07d0c1ab6
parent30b6138a00fdf24d365b6d5c8186e6693b170295
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 00628134b032f441c6621901d900d94d1c47ed58)
res/res_pjsip_nat.c