From: Matthew Nicholson Date: Mon, 7 Dec 2009 16:11:16 +0000 (+0000) Subject: Allow SDP packets with only video session information. X-Git-Tag: 1.4.28-rc1~7^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bf84d94b732cd83ad8638e1340ad9147edb7030;p=thirdparty%2Fasterisk.git Allow SDP packets with only video session information. (closes issue #16387) Reported by: zalex1953 Tested by: mnicholson, zalex1953 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@233392 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 2d2d899d70..098f6b6ad5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5570,7 +5570,7 @@ static int process_sdp(struct sip_pvt *p, struct sip_request *req) } /* Sanity checks */ - if (!hp) { + if (!hp && !vhp) { ast_log(LOG_WARNING, "Insufficient information in SDP (c=)...\n"); return -1; }