From: Joshua Colp Date: Thu, 11 Oct 2012 21:18:50 +0000 (+0000) Subject: Fix a bug where audio on Google Voice would not work due to ignoring candidates. X-Git-Tag: 11.1.0-rc1~46 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=963f94e99f6cd31be77caf2362a70aec40a39fd2;p=thirdparty%2Fasterisk.git 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 --- 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; }