From 40109f40c8944574c35bf15cdec9f236197ef026 Mon Sep 17 00:00:00 2001 From: Jason Shugart Date: Tue, 9 Sep 2025 10:50:12 -0600 Subject: [PATCH] Ignore extra headers in MSRP --- modules/proto_msrp/msrp_parser.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/proto_msrp/msrp_parser.c b/modules/proto_msrp/msrp_parser.c index 16cd49298c4..0914f9cba8d 100644 --- a/modules/proto_msrp/msrp_parser.c +++ b/modules/proto_msrp/msrp_parser.c @@ -184,12 +184,13 @@ int parse_msrp_msg( char* buf, int len, struct msrp_msg *msg) case HDR_EXPIRES_T: link_hdr( expires, hf); break; - case HDR_OTHER_T: - break; case HDR_ERROR_T: - default: LM_INFO("bad header field\n"); goto err_free_hf; + case HDR_OTHER_T: + default: + /* There can be other headers in the MSRP but we don't need to use them, so ignoring it */ + break; } /* add the header to the list*/