From a0f882174947112a683752f89f7cc43906367028 Mon Sep 17 00:00:00 2001 From: Richard Mudgett Date: Tue, 6 Mar 2012 01:56:10 +0000 Subject: Add dialtone_detect option for analog incoming calls. For analog lines, enables Asterisk to use dialtone detection per channel if an incoming call was hung up before it was answered. If dialtone is detected, the call is hung up. no: Disabled. (Default) yes: Look for dialtone for 10000 ms after answer. : Look for dialtone for the specified number of ms after answer. always: Look for dialtone for the entire call. Dialtone may return if the far end hangs up first. dialtone_detect=yes dialtone_detect=5000 dialtone_detect=always (closes issue ASTERISK-19316) Reported by: Jeremy Pepper Patch by: Jeremy Pepper Tested by: rmudgett,Jeremy Pepper Review: https://reviewboard.asterisk.org/r/1737/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@358344 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- configs/chan_dahdi.conf.sample | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'configs') diff --git a/configs/chan_dahdi.conf.sample b/configs/chan_dahdi.conf.sample index 10c55ca75..d83bba8d9 100644 --- a/configs/chan_dahdi.conf.sample +++ b/configs/chan_dahdi.conf.sample @@ -551,6 +551,17 @@ usecallerid=yes ; marking the line as once again available for use with outgoing calls. ;waitfordialtone=yes ; +; For analog lines, enables Asterisk to use dialtone detection per channel +; if an incoming call was hung up before it was answered. If dialtone is +; detected, the call is hung up. +; no: Disabled. (Default) +; yes: Look for dialtone for 10000 ms after answer. +; : Look for dialtone for the specified number of ms after answer. +; always: Look for dialtone for the entire call. Dialtone may return +; if the far end hangs up first. +; +;dialtone_detect=no +; ; The following option enables receiving MWI on FXO lines. The default ; value is no. ; The mwimonitor can take the following values -- cgit v1.2.3