summaryrefslogtreecommitdiff
path: root/dsp.c
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-07-08 21:14:59 +0000
committerMartin Pycko <martinp@digium.com>2003-07-08 21:14:59 +0000
commitcf5a44f1e3afc8ae473c5929144b3b437966393a (patch)
tree4e038611196d805ba996c385aad8c092121e72e5 /dsp.c
parentf88d485e387a20b52e9216dd9621bc3615939dba (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-xdsp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dsp.c b/dsp.c
index d4359c790..5bf9d31f7 100755
--- a/dsp.c
+++ b/dsp.c
@@ -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;