mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-23 14:44:28 +00:00
Fixes commented out code to use #if 0 instead.
Thanks to rmudgett for catching this! git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290674 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1627,7 +1627,8 @@ static int gtalk_digit_end(struct ast_channel *chan, char digit, unsigned int du
|
|||||||
|
|
||||||
/* This function is of not in use at the moment, but I am choosing to leave this
|
/* This function is of not in use at the moment, but I am choosing to leave this
|
||||||
* within the code base as a reference to how DTMF is possible through
|
* within the code base as a reference to how DTMF is possible through
|
||||||
* jingle signaling. However, google currently does DTMF through the RTP.
|
* jingle signaling. However, google currently does DTMF through the RTP. */
|
||||||
|
#if 0
|
||||||
static int gtalk_digit(struct ast_channel *ast, char digit, unsigned int duration)
|
static int gtalk_digit(struct ast_channel *ast, char digit, unsigned int duration)
|
||||||
{
|
{
|
||||||
struct gtalk_pvt *p = ast->tech_pvt;
|
struct gtalk_pvt *p = ast->tech_pvt;
|
||||||
@@ -1653,8 +1654,8 @@ static int gtalk_digit(struct ast_channel *ast, char digit, unsigned int duratio
|
|||||||
ast_aji_increment_mid(client->connection->mid);
|
ast_aji_increment_mid(client->connection->mid);
|
||||||
iks_insert_attrib(gtalk, "xmlns", "http://jabber.org/protocol/gtalk");
|
iks_insert_attrib(gtalk, "xmlns", "http://jabber.org/protocol/gtalk");
|
||||||
iks_insert_attrib(gtalk, "action", "session-info");
|
iks_insert_attrib(gtalk, "action", "session-info");
|
||||||
// put the initiator attribute to lower case if we receive the call
|
/* put the initiator attribute to lower case if we receive the call
|
||||||
// otherwise GoogleTalk won't establish the session
|
* otherwise GoogleTalk won't establish the session */
|
||||||
if (!p->initiator) {
|
if (!p->initiator) {
|
||||||
char c;
|
char c;
|
||||||
char *t = lowerthem = ast_strdupa(p->them);
|
char *t = lowerthem = ast_strdupa(p->them);
|
||||||
@@ -1681,7 +1682,8 @@ static int gtalk_digit(struct ast_channel *ast, char digit, unsigned int duratio
|
|||||||
ast_mutex_unlock(&p->lock);
|
ast_mutex_unlock(&p->lock);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
*/
|
#endif
|
||||||
|
|
||||||
static int gtalk_sendhtml(struct ast_channel *ast, int subclass, const char *data, int datalen)
|
static int gtalk_sendhtml(struct ast_channel *ast, int subclass, const char *data, int datalen)
|
||||||
{
|
{
|
||||||
ast_log(LOG_NOTICE, "XXX Implement gtalk sendhtml XXX\n");
|
ast_log(LOG_NOTICE, "XXX Implement gtalk sendhtml XXX\n");
|
||||||
|
Reference in New Issue
Block a user