[asterisk-commits] file: branch 11 r374877 - /branches/11/channels/chan_motif.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Oct 11 16:18:51 CDT 2012


Author: file
Date: Thu Oct 11 16:18:50 2012
New Revision: 374877

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=374877
Log:
Fix a bug where audio on Google Voice would not work due to ignoring candidates.

Instead of ignoring parts of the message that are not known just ignore the ones
we know may be present and that would cause a problem.

Modified:
    branches/11/channels/chan_motif.c

Modified: branches/11/channels/chan_motif.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_motif.c?view=diff&rev=374877&r1=374876&r2=374877
==============================================================================
--- branches/11/channels/chan_motif.c (original)
+++ branches/11/channels/chan_motif.c Thu Oct 11 16:18:50 2012
@@ -2108,8 +2108,8 @@
 		struct ast_rtp_instance *rtp = NULL;
 		iks *description, *transport;
 
-		if (strcmp(iks_name(content), "content") &&
-		    strcmp(iks_name(content), "jin:content")) {
+		/* Ignore specific parts if they are known not to be useful */
+		if (!strcmp(iks_name(content), "conference-info")) {
 			continue;
 		}
 




More information about the asterisk-commits mailing list