aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-14 21:07:23 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-14 21:07:23 +0000
commit44d7e9bbce7e6cdb55d4ca9e22b883d7b1c17f1b (patch)
tree462b934feca15958055f4e42818d402493ed083d /apps/app_dial.c
parent738580a4c7ae26706dcabf4194f548840d4f3df9 (diff)
Forward begin DTMF frames as well as end. (issue #9068 reported by mhardeman)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@54481 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index e1ad65d13..efbf4e341 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -729,9 +729,9 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct dial_l
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) ||