aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'channel.c')
-rw-r--r--channel.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/channel.c b/channel.c
index 81af67100..800ad847d 100644
--- a/channel.c
+++ b/channel.c
@@ -2186,8 +2186,7 @@ static int do_senddigit(struct ast_channel *chan, char digit)
if (chan->tech->send_digit)
res = chan->tech->send_digit(chan, digit);
- if (!(chan->tech->send_digit && chan->tech->send_digit_begin) ||
- res) {
+ if (res) {
/*
* Device does not support DTMF tones, lets fake
* it by doing our own generation. (PM2002)