[asterisk-addons-commits] russell: branch 1.4 r329 -
/branches/1.4/asterisk-ooh323c/src/chan_h323.c
asterisk-addons-commits at lists.digium.com
asterisk-addons-commits at lists.digium.com
Fri Jan 19 12:27:30 MST 2007
Author: russell
Date: Fri Jan 19 13:27:30 2007
New Revision: 329
URL: http://svn.digium.com/view/asterisk-addons?view=rev&rev=329
Log:
Update digit_end callback to reflect the new prototype that includes
the duration.
Modified:
branches/1.4/asterisk-ooh323c/src/chan_h323.c
Modified: branches/1.4/asterisk-ooh323c/src/chan_h323.c
URL: http://svn.digium.com/view/asterisk-addons/branches/1.4/asterisk-ooh323c/src/chan_h323.c?view=diff&rev=329&r1=328&r2=329
==============================================================================
--- branches/1.4/asterisk-ooh323c/src/chan_h323.c (original)
+++ branches/1.4/asterisk-ooh323c/src/chan_h323.c Fri Jan 19 13:27:30 2007
@@ -45,7 +45,7 @@
static struct ast_channel *ooh323_request(const char *type, int format,
void *data, int *cause);
static int ooh323_digit_begin(struct ast_channel *ast, char digit);
-static int ooh323_digit_end(struct ast_channel *ast, char digit);
+static int ooh323_digit_end(struct ast_channel *ast, char digit, unsigned int duration);
static int ooh323_call(struct ast_channel *ast, char *dest, int timeout);
static int ooh323_hangup(struct ast_channel *ast);
static int ooh323_answer(struct ast_channel *ast);
@@ -677,7 +677,7 @@
return 0;
}
-static int ooh323_digit_end(struct ast_channel *chan, char digit)
+static int ooh323_digit_end(struct ast_channel *chan, char digit, unsigned int duration)
{
char dtmf[2];
struct ooh323_pvt *p = (struct ooh323_pvt *) chan->tech_pvt;
More information about the asterisk-addons-commits
mailing list