From a07bc3e2f3a9e5b91d67b107c468fb5b7388f792 Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Mon, 25 Nov 2024 08:26:03 +0100 Subject: [PATCH] sip/transp: allow requests w/o Max-Forwards header (#1217) --- 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;