From: Matthew Nicholson Date: Mon, 7 Dec 2009 16:16:32 +0000 (+0000) Subject: Merged revisions 233394 via svnmerge from X-Git-Tag: 1.6.0.20-rc1~7^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a68c3b2176cad68eeafbac738486aa3128e47d3;p=thirdparty%2Fasterisk.git Merged revisions 233394 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r233394 | mnicholson | 2009-12-07 10:14:42 -0600 (Mon, 07 Dec 2009) | 8 lines 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/branches/1.6.0@233397 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 27a100ca0e..5313461ae9 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -7227,7 +7227,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; }