diff options
author | Mark Spencer <markster@digium.com> | 2003-04-06 06:11:25 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-04-06 06:11:25 +0000 |
commit | 864fc0cfcefdc1bc2712377414de121e5b00e9fb (patch) | |
tree | f2db6895aeb61d18072ceb29035c82171fccc972 /apps/app_dial.c | |
parent | c2e4a6646d5e6200a6ebeb4a317fa03e027ec780 (diff) |
Complete local channel implementation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@757 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dial.c')
-rwxr-xr-x | apps/app_dial.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index b1edad6f4..a5e43c222 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -239,6 +239,11 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu case AST_CONTROL_OFFHOOK: /* Ignore going off hook */ break; + case -1: + if (option_verbose > 2) + ast_verbose( VERBOSE_PREFIX_3 "%s stopped sounds\n", o->chan->name); + ast_indicate(in, -1); + break; default: ast_log(LOG_DEBUG, "Dunno what to do with control type %d\n", f->subclass); } |