]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
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:18:50 +0000 (21:18 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 11 Oct 2012 21:18:50 +0000 (21:18 +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.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@374877 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_motif.c

index 12f42926b1ad0a2d6d37c9b61d83d7277fb73aa3..4b4f36a3c4401d70f750522c6e5f856779c622bf 100644 (file)
@@ -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;
                }