projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b36d6
)
Minor cleanup on dtmf calling (bug #7076)
author
Mark Spencer
<markster@digium.com>
Mon, 8 May 2006 14:45:18 +0000
(14:45 +0000)
committer
Mark Spencer
<markster@digium.com>
Mon, 8 May 2006 14:45:18 +0000
(14:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25567
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channel.c
patch
|
blob
|
history
diff --git
a/channel.c
b/channel.c
index
81af671
..
800ad84
100644
(file)
--- 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)