[Home]

Summary:ASTERISK-04952: [patch] fix for: Overlooked in my bug 4830: can't detect busypattern with tones longer than 1100msecs
Reporter:Steve Davies . (stevedavies)Labels:
Date Opened:2005-09-01 03:54:58Date Closed:2008-01-15 15:46:51.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-patch.longerbusytones
Description:In doing patch 4830 - the busypattern= support, I overlooked a check in the dsp.c code that doesn't allow a busy tone to be longer than 1100msecs.  Where I am, the busy pattern is 500,500.  But in other parts of South Africa, the tone is 2500,500 which can't currently be detected because of the 1100msec limit.

Anyway - the trivial patch attached adjusts the maximum tone length to 3100, which should hopefully be enough for everyone.

Disclaimer is on file etc.

Regards,
Steve
Comments:By: Kevin P. Fleming (kpfleming) 2005-09-01 18:33:33

Committed to CVS HEAD, thanks!

By: Digium Subversion (svnbot) 2008-01-15 15:46:51.000-0600

Repository: asterisk
Revision: 6498

U   trunk/dsp.c

------------------------------------------------------------------------
r6498 | kpfleming | 2008-01-15 15:46:50 -0600 (Tue, 15 Jan 2008) | 2 lines

allow longer 'busy' tones to be detected (issue ASTERISK-4952)

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

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