summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorJason Parker <jparker@digium.com>2009-06-25 19:22:46 +0000
committerJason Parker <jparker@digium.com>2009-06-25 19:22:46 +0000
commitafa8db54a055b788266b88290eb412f4ee5c3a2b (patch)
treeb272a5bba6fe15b0f45c6046727b3bab7630984b /channels
parent694c1dcd7637c0c8ee1698f583dd769986047e10 (diff)
Unmute when we get a dtmfup (we muted on dtmfdown) event.
This would occasionally cause one-way audio when using hardware DTMF detection. (closes issue #14761) Reported by: tzafrir Patches: v1-14761.patch uploaded by dimas (license 88) Tested by: tzafrir, dimas git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 5e9cb5b1b..344f56af6 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -6965,6 +6965,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
/* absorb event */
} else {
#endif
+ dahdi_confmute(p, 0);
p->subs[idx].f.frametype = AST_FRAME_DTMF_END;
p->subs[idx].f.subclass = res & 0xff;
#ifdef HAVE_PRI