From 7f527600cc16370cdae816b53f60a4ec237dae4b Mon Sep 17 00:00:00 2001 From: martinp Date: Tue, 8 Jul 2003 21:14:59 +0000 Subject: 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 --- dsp.c | 1 + 1 file changed, 1 insertion(+) (limited to 'dsp.c') 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; -- cgit v1.2.3