aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-26 17:15:31 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-26 17:15:31 +0000
commite036e13e5706664fcf1bc08ec96e729872413925 (patch)
tree1b502ea4cedeb7c5a07e9f4be64717ecfbb35214 /dsp.c
parentc46ff2828244a32a6d528b84f3c055ba8ce1c597 (diff)
Additional fix on not sending additional digits
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@697 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsp.c b/dsp.c
index ec3d4d0c8..a969f043d 100755
--- a/dsp.c
+++ b/dsp.c
@@ -1142,7 +1142,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp,
if (digit) {
/* Thought we saw one last time. Pretty sure we really have now */
if (dsp->thinkdigit) {
- if (dsp->thinkdigit != 'x') {
+ if ((dsp->thinkdigit != 'x') && (dsp->thinkdigit != digit)) {
/* If we found a digit, and we're changing digits, go
ahead and send this one, but DON'T stop confmute because
we're detecting something else, too... */