Skip to content
Snippets Groups Projects
Commit 55871d3a authored by Joshua Colp's avatar Joshua Colp
Browse files

Add additional description stanza names from the old Google Talk protocol...

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@369898 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent 74ebe6d5
No related branches found
No related tags found
No related merge requests found
...@@ -2100,7 +2100,9 @@ static int jingle_interpret_content(struct jingle_session *session, ikspak *pak) ...@@ -2100,7 +2100,9 @@ static int jingle_interpret_content(struct jingle_session *session, ikspak *pak)
/* If description information is available use it */ /* If description information is available use it */
if ((description = iks_find_with_attrib(content, "description", "xmlns", JINGLE_RTP_NS)) || 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, "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, "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))) { (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 we failed to do something with the content description abort immediately */
if (jingle_interpret_description(session, description, name, &rtp)) { if (jingle_interpret_description(session, description, name, &rtp)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment