diff options
author | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-08 21:14:59 +0000 |
---|---|---|
committer | martinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-08 21:14:59 +0000 |
commit | 7f527600cc16370cdae816b53f60a4ec237dae4b (patch) | |
tree | 4e038611196d805ba996c385aad8c092121e72e5 /dsp.c | |
parent | 8d2efd92886f618ce3dc132ee0ace15cf3166403 (diff) |
Add the second way of signalizing hangup when busydetect detects the busy tone
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1169 f38db490-d61c-443f-a65b-d21fe96a405b
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; |