From a85b00e43b61767ce1de018befc28d573997b60d Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Fri, 22 Nov 2024 09:23:09 +0100 Subject: [PATCH] sip: allow requests w/o Max-Forwards header --- src/sip/transp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/sip/transp.c b/src/sip/transp.c index cf0099fb5..78ea319b8 100644 --- a/src/sip/transp.c +++ b/src/sip/transp.c @@ -345,8 +345,6 @@ static bool have_essential_fields(const struct sip_msg *msg) pl_isset(&(msg->from.auri)) && pl_isset(&(msg->cseq.met)) && pl_isset(&(msg->callid)) && - (pl_isset(&(msg->maxfwd)) || - !pl_strncmp(&msg->met, "ACK", 3)) && pl_isset(&(msg->via.branch))) return true;