diff options
author | Martin Pycko <martinp@digium.com> | 2003-07-08 21:14:59 +0000 |
---|---|---|
committer | Martin Pycko <martinp@digium.com> | 2003-07-08 21:14:59 +0000 |
commit | cf5a44f1e3afc8ae473c5929144b3b437966393a (patch) | |
tree | 4e038611196d805ba996c385aad8c092121e72e5 /dsp.c | |
parent | f88d485e387a20b52e9216dd9621bc3615939dba (diff) |
Add the second way of signalizing hangup when busydetect detects the busy tone
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1169 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'dsp.c')
-rwxr-xr-x | dsp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1205,6 +1205,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp, return &dsp->f; } if ((dsp->features & DSP_FEATURE_BUSY_DETECT) && ast_dsp_busydetect(dsp)) { + chan->_softhangup |= AST_SOFTHANGUP_DEV; memset(&dsp->f, 0, sizeof(dsp->f)); dsp->f.frametype = AST_FRAME_CONTROL; dsp->f.subclass = AST_CONTROL_BUSY; |