From: Matthew Nicholson Date: Mon, 7 Dec 2009 16:14:42 +0000 (+0000) Subject: Do not reject SDP packets describing only non audio streams. X-Git-Tag: 11.0.0-beta1~3761 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3069bab67c588a3b1d28e6a349e437c53bf1f556;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0a58336464..5d7759440f 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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; }