[asterisk-bugs] [Asterisk 0012382]: [patch] Add dialtone detection to chan_zap FXO devices

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Nov 25 16:45:55 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12382 
====================================================================== 
Reported By:                one47
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12382
Category:                   Channels/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.2.25 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-04-08 09:05 CDT
Last Modified:              2008-11-25 16:45 CST
====================================================================== 
Summary:                    [patch] Add dialtone detection to chan_zap FXO
devices
Description: 
In the UK, analogue lines can only be hung-up by the caller. If asterisk is
not the caller, then when asterisk hangs up, it may well have no effect,
but asterisk thinks the line is available! This can cause a "special" kind
of glare - This feature was abused as a Phreaking tool for many years...
British telecom insist that this behaviour cannot be disabled.

The only workaround to this that I have been able to come up with is
dialtone detection before dialing. I believe this will also be a popular
feature for people with lines that do not offer an immediate dialtone.

The attached patch adds a new DSP mode of "WAITFORDIALTONE" which will use
the existing dialtone detection code - I have extended it to work for UK
users (progmode=uk in zapata.conf) It also adds a new zapata.conf parameter
of "waitfordialtone" which takes a numeric parameter to specify how long in
ms to wait for a dialtone before giving up and failing the call.
====================================================================== 

---------------------------------------------------------------------- 
 (0095521) svnbot (reporter) - 2008-11-25 16:45
 http://bugs.digium.com/view.php?id=12382#c95521 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 159317

U   trunk/CHANGES
U   trunk/channels/chan_dahdi.c
U   trunk/configs/chan_dahdi.conf.sample
U   trunk/include/asterisk/dsp.h
U   trunk/main/dsp.c

------------------------------------------------------------------------
r159317 | tilghman | 2008-11-25 16:45:54 -0600 (Tue, 25 Nov 2008) | 9
lines

Add an option, waitfordialtone, for UK analog lines which do not end a
call
until the originating line hangs up.
(closes issue http://bugs.digium.com/view.php?id=12382)
 Reported by: one47
 Patches: 
       zap-waitfordialtone-trunk.080901.patch uploaded by one47 (license
23)
       zap-waitfordialtone-bra-1.4.21.2.patch uploaded by fleed (license
463)
 Tested by: fleed

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=159317 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-25 16:45 svnbot         Checkin                                      
2008-11-25 16:45 svnbot         Note Added: 0095521                          
======================================================================




More information about the asterisk-bugs mailing list