From 4172eaf27d8c18894ea47c06416cd51d86df7ccc Mon Sep 17 00:00:00 2001 From: Nils Jeisecke Date: Mon, 18 Sep 2023 14:25:17 +0200 Subject: [PATCH] prevent overwriting rport ip address (bad 'fix', rather a crappy workaround) --- src/call.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/call.c b/src/call.c index 4893cdf00..d3e777f91 100644 --- a/src/call.c +++ b/src/call.c @@ -2376,8 +2376,11 @@ static int sipsess_desc_handler(struct mbuf **descp, const struct sa *src, MAGIC_CHECK(call); call->af = sa_af(src); - if (!call->acc->mnat) - sdp_session_set_laddr(call->sdp, src); + + // temp. "Fix" für #15734: Das Setzen der laddr überschreibt hier unseren via + // rport eingetragenen Wert. +// if (!call->acc->mnat) +// sdp_session_set_laddr(call->sdp, src); if (list_isempty(&call->streaml)) { err = call_streams_alloc(call);