Skip to content
Snippets Groups Projects
Commit 3069bab6 authored by Matthew Nicholson's avatar Matthew Nicholson
Browse files

Do not reject SDP packets describing only non audio streams.

(closes issue #16387)
Reported by: zalex1953
Patches:
      media-level-c-fix1.diff uploaded by mnicholson (license 96)
Tested by: mnicholson, zalex1953


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ac8c2be1
No related branches found
No related tags found
No related merge requests found
......@@ -8703,7 +8703,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req, int t38action
 
 
/* Sanity checks */
if (!hp) {
if (!hp && !vhp && !thp && !ihp) {
ast_log(LOG_WARNING, "Insufficient information in SDP (c=)...\n");
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment