]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Allow SDP packets with only video session information.
authorMatthew Nicholson <mnicholson@digium.com>
Mon, 7 Dec 2009 16:11:16 +0000 (16:11 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Mon, 7 Dec 2009 16:11:16 +0000 (16:11 +0000)
(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

channels/chan_sip.c

index 2d2d899d707d18fcb50e61aba3be516f88c93eea..098f6b6ad52000c6a586dea2b1cf223613657bcc 100644 (file)
@@ -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;
        }