diff options
author | Mark Spencer <markster@digium.com> | 2003-07-02 21:50:01 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-07-02 21:50:01 +0000 |
commit | 3201291b32cd6968d3dfc025862da011522ec697 (patch) | |
tree | 42bc3e5118e32329e4b59667c2beb5b7a5ad638c | |
parent | 485db41457a4f1e2e5a2fea8a150b57c04ac8372 (diff) |
DSP mods too, weird CVS bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | dsp.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1258,12 +1258,12 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, /* If we found a digit, send it now */ dsp->f.frametype = AST_FRAME_DTMF; dsp->f.subclass = dsp->thinkdigit; - if (chan) - ast_queue_frame(chan, &dsp->f, needlock); + dsp->thinkdigit = 0; + } else { + dsp->f.frametype = AST_FRAME_DTMF; + dsp->f.subclass = 'u'; + dsp->thinkdigit = 0; } - dsp->f.frametype = AST_FRAME_DTMF; - dsp->f.subclass = 'u'; - dsp->thinkdigit = 0; FIX_INF(af); if (chan) ast_queue_frame(chan, af, needlock); |