Fix a bug where audio on Google Voice would not work due to ignoring candidates.
authorJoshua Colp <jcolp@digium.com>
Thu, 11 Oct 2012 21:19:33 +0000 (21:19 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 11 Oct 2012 21:19:33 +0000 (21:19 +0000)
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

index 432685b..5380f1c 100644 (file)
@@ -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;
                }