]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 233394 via svnmerge from
authorMatthew Nicholson <mnicholson@digium.com>
Mon, 7 Dec 2009 16:16:15 +0000 (16:16 +0000)
committerMatthew Nicholson <mnicholson@digium.com>
Mon, 7 Dec 2009 16:16:15 +0000 (16:16 +0000)
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.1@233395 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index cea195c99efb88c124c2a808b2d4bd1a0e6190a6..0039216b14dc3ec061e2938f10b1056052c0e18d 100644 (file)
@@ -7751,7 +7751,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;
        }