Fix regression with distinctive ring detection.
authorJeff Peeler <jpeeler@digium.com>
Mon, 19 Jul 2010 14:39:07 +0000 (14:39 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 19 Jul 2010 14:39:07 +0000 (14:39 +0000)
commit58061391a11dbd4d1be4ed5829198395b93660d9
treed6cc2273e7425b7c7fbf11ea067f87d3a455d49b
parent6fa79e8f77dc945fcad8bec337bc527915d5960c
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 #15718)
Reported by: alecdavis
Patches:
      bug15718.patch uploaded by jpeeler (license 325)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@277837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c
channels/sig_analog.c
channels/sig_analog.h