aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-08 00:08:48 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-08 00:08:48 +0000
commit6e782fbe4270ad11f6224fc809065cc916582ad6 (patch)
treea86d4fb9de75712a358602ea7e271f160067d33c /include/asterisk
parent8f4d353391c36eb2d08efe564041f73744e8405c (diff)
Merge steve's busy detect stuff (bug #4830)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6304 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rwxr-xr-xinclude/asterisk/dsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/dsp.h b/include/asterisk/dsp.h
index d335b18bf..07e74c947 100755
--- a/include/asterisk/dsp.h
+++ b/include/asterisk/dsp.h
@@ -53,6 +53,9 @@ void ast_dsp_set_threshold(struct ast_dsp *dsp, int threshold);
/* Set number of required cadences for busy */
void ast_dsp_set_busy_count(struct ast_dsp *dsp, int cadences);
+/* Set expected lengths of the busy tone */
+void ast_dsp_set_busy_pattern(struct ast_dsp *dsp, int tonelength, int quietlength);
+
/* Scans for progress indication in audio */
int ast_dsp_call_progress(struct ast_dsp *dsp, struct ast_frame *inf);