Skip to content
Snippets Groups Projects
Commit 10772f45 authored by Mark Spencer's avatar Mark Spencer
Browse files

Additional fix on not sending additional digits

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@697 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent e4153aab
No related branches found
No related tags found
No related merge requests found
...@@ -1142,7 +1142,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, ...@@ -1142,7 +1142,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp,
if (digit) { if (digit) {
/* Thought we saw one last time. Pretty sure we really have now */ /* Thought we saw one last time. Pretty sure we really have now */
if (dsp->thinkdigit) { 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 /* If we found a digit, and we're changing digits, go
ahead and send this one, but DON'T stop confmute because ahead and send this one, but DON'T stop confmute because
we're detecting something else, too... */ we're detecting something else, too... */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment