aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_vpb.cc
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-05 15:28:27 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-07-05 15:28:27 +0000
commit59c02f82be5e90fe284487bea398b78fe1da4717 (patch)
treec377037349c8bae562ac4348bdb10dfc87aab3f0 /channels/chan_vpb.cc
parent65c550e0f24985527456d6253a77386cebc0e9aa (diff)
Make this module build for me in dev-mode
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@73398 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_vpb.cc')
-rw-r--r--channels/chan_vpb.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc
index bb6ec3786..c12af7ccf 100644
--- a/channels/chan_vpb.cc
+++ b/channels/chan_vpb.cc
@@ -343,7 +343,7 @@ static struct ast_channel *vpb_new(struct vpb_pvt *i, enum ast_channel_state sta
static void *do_chanreads(void *pvt);
static struct ast_channel *vpb_request(const char *type, int format, void *data, int *cause);
static int vpb_digit_begin(struct ast_channel *ast, char digit);
-static int vpb_digit_end(struct ast_channel *ast, char digit);
+static int vpb_digit_end(struct ast_channel *ast, char digit, unsigned int duration);
static int vpb_call(struct ast_channel *ast, char *dest, int timeout);
static int vpb_hangup(struct ast_channel *ast);
static int vpb_answer(struct ast_channel *ast);
@@ -1834,7 +1834,7 @@ static int vpb_digit_begin(struct ast_channel *ast, char digit)
/* XXX Modify this callback to let Asterisk control the length of DTMF */
return 0;
}
-static int vpb_digit_end(struct ast_channel *ast, char digit)
+static int vpb_digit_end(struct ast_channel *ast, char digit, unsigned int duration)
{
struct vpb_pvt *p = (struct vpb_pvt *)ast->tech_pvt;
char s[2];
@@ -2634,7 +2634,7 @@ static struct ast_channel *vpb_new(struct vpb_pvt *me, enum ast_channel_state st
if (option_verbose > 3)
ast_verbose("%s: New call for context [%s]\n",me->dev,context);
- tmp = ast_channel_alloc(1, state, 0, 0, "", me->exten, me->context, 0, me->dev);
+ tmp = ast_channel_alloc(1, state, 0, 0, "", me->ext, me->context, 0, me->dev);
if (tmp) {
if (use_ast_ind == 1){
tmp->tech = &vpb_tech_indicate;