diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0e5f6889b0..c74362c0c0 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6225,7 +6225,7 @@ static int find_sdp(struct sip_request *req) content_type = get_header(req, "Content-Type"); /* if the body contains only SDP, this is easy */ - if (!strcasecmp(content_type, "application/sdp")) { + if (!strncasecmp(content_type, "application/sdp", 15)) { req->sdp_start = 0; req->sdp_end = req->lines; return req->lines ? 1 : 0;