aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_jingle.c
diff options
context:
space:
mode:
authorphsultan <phsultan@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-13 14:00:56 +0000
committerphsultan <phsultan@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-13 14:00:56 +0000
commitb7cdff797a276b38d61d6e8b0f2f87215acd1dd6 (patch)
tree5fa8305824404c70129acc750dbc5ed2cbb506eb /channels/chan_jingle.c
parent88c453177ebea0874237a62758a48a8423e8572a (diff)
Reflect Jingle DTMF specification changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82312 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_jingle.c')
-rw-r--r--channels/chan_jingle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_jingle.c b/channels/chan_jingle.c
index 9848b9665..9d8c8177f 100644
--- a/channels/chan_jingle.c
+++ b/channels/chan_jingle.c
@@ -1221,7 +1221,7 @@ static int jingle_digit(struct ast_channel *ast, char digit, unsigned int durati
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 @@ static int jingle_parser(void *data, ikspak *pak)
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);