[asterisk-commits] phsultan: trunk r82312 - /trunk/channels/chan_jingle.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Sep 13 09:00:56 CDT 2007
Author: phsultan
Date: Thu Sep 13 09:00:56 2007
New Revision: 82312
URL: http://svn.digium.com/view/asterisk?view=rev&rev=82312
Log:
Reflect Jingle DTMF specification changes
Modified:
trunk/channels/chan_jingle.c
Modified: trunk/channels/chan_jingle.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_jingle.c?view=diff&rev=82312&r1=82311&r2=82312
==============================================================================
--- trunk/channels/chan_jingle.c (original)
+++ trunk/channels/chan_jingle.c Thu Sep 13 09:00:56 2007
@@ -1221,7 +1221,7 @@
iks_insert_attrib(iq, "id", client->connection->mid);
ast_aji_increment_mid(client->connection->mid);
iks_insert_attrib(jingle, "xmlns", "http://jabber.org/protocol/jingle");
- iks_insert_attrib(jingle, "action", "content-info");
+ iks_insert_attrib(jingle, "action", "session-info");
iks_insert_attrib(jingle, "initiator", p->initiator ? client->connection->jid->full : p->from);
iks_insert_attrib(jingle, "sid", p->sid);
iks_insert_attrib(dtmf, "xmlns", "http://jabber.org/protocol/jingle/info/dtmf");
@@ -1442,7 +1442,7 @@
ast_debug(3, "Candidate Added!\n");
} else if (iks_find_with_attrib(pak->x, GOOGLE_NODE, "type", GOOGLE_ACCEPT)) {
jingle_is_answered(client, pak);
- } else if (iks_find_with_attrib(pak->x, GOOGLE_NODE, "type", "content-info")) {
+ } else if (iks_find_with_attrib(pak->x, GOOGLE_NODE, "type", "session-info")) {
jingle_handle_dtmf(client, pak);
} else if (iks_find_with_attrib(pak->x, GOOGLE_NODE, "type", "terminate")) {
jingle_hangup_farend(client, pak);
More information about the asterisk-commits
mailing list