From ccb7b3a1b57137f7358f376cc18682e6a64c5f34 Mon Sep 17 00:00:00 2001 From: Joshua Colp <jcolp@digium.com> Date: Thu, 11 Oct 2012 21:19:33 +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. ........ Merged revisions 374877 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374878 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 432685bd5d..5380f1cd95 100644 --- a/channels/chan_motif.c +++ b/channels/chan_motif.c @@ -2117,8 +2117,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; } -- GitLab