diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-20 22:24:15 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-07-20 22:24:15 +0000 |
commit | 59b94cd7a932122d3c1364c3624050a352eeaf98 (patch) | |
tree | b9e832f4214cb0c40b1121462bf0109f71f11e90 /apps | |
parent | e31fbbf394ff411c8c184e2281f22f3107f9bdeb (diff) |
Make '*' count as cancel (bug #2098)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3487 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_dial.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index c44860f60..9d922813a 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -384,6 +384,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu if (option_verbose > 3) ast_verbose(VERBOSE_PREFIX_3 "User hit %c to disconnect call.\n", f->subclass); *to=0; + strcpy(status, "CANCEL"); return NULL; } if (single && ((f->frametype == AST_FRAME_VOICE) || (f->frametype == AST_FRAME_DTMF))) { @@ -959,6 +960,7 @@ out: } hanguptree(outgoing, NULL); pbx_builtin_setvar_helper(chan, "DIALSTATUS", status); + ast_log(LOG_DEBUG, "Exiting with DIALSTATUS=%s.\n", status); LOCAL_USER_REMOVE(u); |