diff options
author | Richard Mudgett <rmudgett@digium.com> | 2012-03-06 01:56:10 +0000 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2012-03-06 01:56:10 +0000 |
commit | a0f882174947112a683752f89f7cc43906367028 (patch) | |
tree | 31bec12edaf3b39c448cbfaf868775c6abec0c76 /configs | |
parent | 85484c050da7bd9290dd3677d1a41be43ae1b704 (diff) |
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.
<number>: 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
Diffstat (limited to 'configs')
-rw-r--r-- | configs/chan_dahdi.conf.sample | 11 |
1 files changed, 11 insertions, 0 deletions
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. +; <number>: 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 |