From 963f94e99f6cd31be77caf2362a70aec40a39fd2 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 11 Oct 2012 21:18:50 +0000 Subject: [PATCH] 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@374877 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_motif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/channels/chan_motif.c b/channels/chan_motif.c index 12f42926b1..4b4f36a3c4 100644 --- a/channels/chan_motif.c +++ b/channels/chan_motif.c @@ -2108,8 +2108,8 @@ static int jingle_interpret_content(struct jingle_session *session, ikspak *pak) 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; }