[asterisk-commits] mnicholson: trunk r233394 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 7 10:14:45 CST 2009


Author: mnicholson
Date: Mon Dec  7 10:14:42 2009
New Revision: 233394

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=233394
Log:
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

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=233394&r1=233393&r2=233394
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Dec  7 10:14:42 2009
@@ -8703,7 +8703,7 @@
 
 
 	/* Sanity checks */
-	if (!hp) {
+	if (!hp && !vhp && !thp && !ihp) {
 		ast_log(LOG_WARNING, "Insufficient information in SDP (c=)...\n");
 		return -1;
 	}




More information about the asterisk-commits mailing list