[svn-commits] file: trunk r212067 - /trunk/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Aug 13 08:51:08 CDT 2009


Author: file
Date: Thu Aug 13 08:51:04 2009
New Revision: 212067

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=212067
Log:
Check an actual populated variable when seeing if we need to do video or not.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=212067&r1=212066&r2=212067
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Thu Aug 13 08:51:04 2009
@@ -9976,7 +9976,7 @@
 	}
 
 	/* Check if we need video in this call */
-	if (add_audio && (capability & AST_FORMAT_VIDEO_MASK) && !p->novideo) {
+	if (add_audio && (p->jointcapability & AST_FORMAT_VIDEO_MASK) && !p->novideo) {
 		if (p->vrtp) {
 			needvideo = TRUE;
 			ast_debug(2, "This call needs video offers!\n");




More information about the svn-commits mailing list