[svn-commits] file: trunk r369898 - /trunk/channels/chan_motif.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jul 10 10:25:13 CDT 2012


Author: file
Date: Tue Jul 10 10:25:12 2012
New Revision: 369898

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=369898
Log:
Add additional description stanza names from the old Google Talk protocol which is used with Google Voice.

(closes issue ASTERISK-20114)
Reported by: Malcolm Davenport

Modified:
    trunk/channels/chan_motif.c

Modified: trunk/channels/chan_motif.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_motif.c?view=diff&rev=369898&r1=369897&r2=369898
==============================================================================
--- trunk/channels/chan_motif.c (original)
+++ trunk/channels/chan_motif.c Tue Jul 10 10:25:12 2012
@@ -2100,7 +2100,9 @@
 		/* If description information is available use it */
 		if ((description = iks_find_with_attrib(content, "description", "xmlns", JINGLE_RTP_NS)) ||
 		    (description = iks_find_with_attrib(content, "rtp:description", "xmlns:rtp", JINGLE_RTP_NS)) ||
+		    (description = iks_find_with_attrib(content, "pho:description", "xmlns:pho", GOOGLE_PHONE_NS)) ||
 		    (description = iks_find_with_attrib(pak->query, "description", "xmlns", GOOGLE_PHONE_NS)) ||
+		    (description = iks_find_with_attrib(pak->query, "pho:description", "xmlns:pho", GOOGLE_PHONE_NS)) ||
 		    (description = iks_find_with_attrib(pak->query, "vid:description", "xmlns", GOOGLE_VIDEO_NS))) {
 			/* If we failed to do something with the content description abort immediately */
 			if (jingle_interpret_description(session, description, name, &rtp)) {




More information about the svn-commits mailing list