aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-08 21:14:59 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-08 21:14:59 +0000
commit7f527600cc16370cdae816b53f60a4ec237dae4b (patch)
tree4e038611196d805ba996c385aad8c092121e72e5 /dsp.c
parent8d2efd92886f618ce3dc132ee0ace15cf3166403 (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-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;