diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-08 14:45:18 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-08 14:45:18 +0000 |
commit | 33a2c1be2723cd08673401bfbda8c2af8eafa40e (patch) | |
tree | 4f66d47644fb676df8ddf5978c64587f984279db /channel.c | |
parent | 7dade312ab7a85e77029caf72f02530b099d487e (diff) |
Minor cleanup on dtmf calling (bug #7076)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@25567 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rw-r--r-- | channel.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |