Separate the uses of NUM_DCHANS and MAX_CHANNELS into PRI, SS7, and MFCR2 users.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 30 Apr 2010 22:24:28 +0000 (22:24 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 30 Apr 2010 22:24:28 +0000 (22:24 +0000)
commit00a1a96ff55ff7a9b99955d177cc9ba4d0a20462
tree0c394f7305eaa9816aad92b89feb7f81d99eb69d
parenta554e00fedce2265b53abee896d962baf6845eac
Separate the uses of NUM_DCHANS and MAX_CHANNELS into PRI, SS7, and MFCR2 users.

Created
SIG_PRI_MAX_CHANNELS, SIG_PRI_NUM_DCHANS
SIG_SS7_MAX_CHANNELS, SIG_SS7_NUM_DCHANS
SIG_MFCR2_MAX_CHANNELS

Also fixed the declaration of pollers[] in mfcr2_monitor().  It was
dimensioned to the number of bytes in struct dahdi_mfcr2.pvts[] and not to
the same dimension of the struct dahdi_mfcr2.pvts[].

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