[asterisk-addons-commits] mnicholson: branch mnicholson/chan-mobile-refactor r794 - /team/mnicholson/ch...
SVN commits to the Asterisk addons project
asterisk-addons-commits at lists.digium.com
Mon Feb 23 14:48:06 CST 2009
Author: mnicholson
Date: Mon Feb 23 14:48:06 2009
New Revision: 794
URL: http://svn.digium.com/svn-view/asterisk-addons?view=rev&rev=794
Log:
remove unused send_digit_begin, and only use send_digit_begin. The bluetooth
handsfree profile does not support variable length DTMF tones.
Modified:
team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
Modified: team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c
URL: http://svn.digium.com/svn-view/asterisk-addons/team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c?view=diff&rev=794&r1=793&r2=794
==============================================================================
--- team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c (original)
+++ team/mnicholson/chan-mobile-refactor/channels/chan_mobile.c Mon Feb 23 14:48:06 2009
@@ -217,7 +217,6 @@
static int mbl_call(struct ast_channel *ast, char *dest, int timeout);
static int mbl_hangup(struct ast_channel *ast);
static int mbl_answer(struct ast_channel *ast);
-static int mbl_digit_begin(struct ast_channel *ast, char digit);
static int mbl_digit_end(struct ast_channel *ast, char digit, unsigned int duration);
static struct ast_frame *mbl_read(struct ast_channel *ast);
static int mbl_write(struct ast_channel *ast, struct ast_frame *frame);
@@ -429,7 +428,6 @@
.call = mbl_call,
.hangup = mbl_hangup,
.answer = mbl_answer,
- .send_digit_begin = mbl_digit_begin,
.send_digit_end = mbl_digit_end,
.read = mbl_read,
.write = mbl_write,
@@ -912,13 +910,6 @@
ast_setstate(ast, AST_STATE_UP);
pvt->sent_answer = 1;
-
- return 0;
-
-}
-
-static int mbl_digit_begin(struct ast_channel *chan, char digit)
-{
return 0;
More information about the asterisk-addons-commits
mailing list