diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-14 21:10:53 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-02-14 21:10:53 +0000 |
commit | 0e24af1090a66e21f04d228fd8fef86da19e9010 (patch) | |
tree | a26d6dcc29bea0222a85e313504d139648876575 /apps/app_dial.c | |
parent | d1ed177de15f00ecdf231be1a0ce760a4b38e20d (diff) |
Merged revisions 54481 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r54481 | file | 2007-02-14 16:07:23 -0500 (Wed, 14 Feb 2007) | 2 lines
Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@54489 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r-- | apps/app_dial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 129b8ce31..29acff81d 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -782,9 +782,9 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, ast_log(LOG_WARNING, "Unable to send URL\n"); - if (single && ((f->frametype == AST_FRAME_VOICE) || (f->frametype == AST_FRAME_DTMF))) { + if (single && ((f->frametype == AST_FRAME_VOICE) || (f->frametype == AST_FRAME_DTMF_BEGIN) || (f->frametype == AST_FRAME_DTMF_END))) { if (ast_write(outgoing->chan, f)) - ast_log(LOG_WARNING, "Unable to forward voice\n"); + ast_log(LOG_WARNING, "Unable to forward voice or dtmf\n"); } if (single && (f->frametype == AST_FRAME_CONTROL) && ((f->subclass == AST_CONTROL_HOLD) || |