Skip to content
Snippets Groups Projects
Commit e3492b95 authored by Joshua Colp's avatar Joshua Colp
Browse files

Merged revisions 67068 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r67068 | file | 2007-06-04 15:31:09 -0400 (Mon, 04 Jun 2007) | 2 lines

Better handle SIP devices that say they have SDP content... but really don't. (issue #9398 reported by mthomasslo)

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent bae04fd9
No related branches found
No related tags found
No related merge requests found
......@@ -5148,7 +5148,7 @@ static int find_sdp(struct sip_request *req)
if (!strcasecmp(content_type, "application/sdp")) {
req->sdp_start = 0;
req->sdp_end = req->lines;
return 1;
return req->lines ? 1 : 0;
}
 
/* if it's not multipart/mixed, there cannot be an SDP */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment