(closes issue #12803)
Reported by: lanzaandrea
Patches:
chan_sip.c.diff uploaded by lanzaandrea (license 496)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122919
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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;