[asterisk-bugs] [Asterisk 0015718]: [patch] Distinctive ring detection not working. Exits after first cadence

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jul 19 09:39:07 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15718 
====================================================================== 
Reported By:                alecdavis
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15718
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             1.4.35
Asterisk Version:           SVN 
JIRA:                       SWP-1759 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 211232 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-13 22:54 CDT
Last Modified:              2010-07-19 09:39 CDT
====================================================================== 
Summary:                    [patch] Distinctive ring detection not working.
Exits after first cadence
Description: 
ARRAYLEN(ringdata) before call to my_distinctive_ring=3, but inside
my_distincetive_ring=1, so have hardcoded 3. (must be a better way!)

====================================================================== 

---------------------------------------------------------------------- 
 (0124695) svnbot (reporter) - 2010-07-19 09:39
 https://issues.asterisk.org/view.php?id=15718#c124695 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 277837

U   trunk/channels/chan_dahdi.c
U   trunk/channels/sig_analog.c
U   trunk/channels/sig_analog.h

------------------------------------------------------------------------
r277837 | jpeeler | 2010-07-19 09:39:06 -0500 (Mon, 19 Jul 2010) | 12
lines

Fix regression with distinctive ring detection.

The issue here is that passing an array to a function prohibits the
ARRAY_LEN
macro from returning the real size. To avoid this the size is now defined
and
use of ARRAY_LEN is avoided.

(closes issue https://issues.asterisk.org/view.php?id=15718)
Reported by: alecdavis
Patches: 
      bug15718.patch uploaded by jpeeler (license 325)


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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-19 09:39 svnbot         Checkin                                      
2010-07-19 09:39 svnbot         Note Added: 0124695                          
======================================================================




More information about the asterisk-bugs mailing list