mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 20:04:50 +00:00
DSP mods too, weird CVS bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1159 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
6
dsp.c
6
dsp.c
@@ -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;
|
||||
}
|
||||
FIX_INF(af);
|
||||
if (chan)
|
||||
ast_queue_frame(chan, af, needlock);
|
||||
|
Reference in New Issue
Block a user