From c3fc2a76f5440a0194beb1d2e2f415a5be4a5963 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Wed, 26 Dec 2007 22:38:02 +0000 Subject: Allow more spans than 32. Also, rearrange compiler flags so the most often used flags appear closer to the top. Reported by: tzafrir Patch by: tzafrir,tilghman (Closes issue #11528) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94818 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_zap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'channels/chan_zap.c') diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 0e01298a5..76ece3874 100644 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -205,7 +205,11 @@ static const char config[] = "zapata.conf"; #define SIG_GR303FXOKS (0x0100000 | ZT_SIG_FXOKS) #define SIG_GR303FXSKS (0x0100000 | ZT_SIG_FXSKS) +#ifdef LOTS_OF_SPANS +#define NUM_SPANS ZT_MAX_SPANS +#else #define NUM_SPANS 32 +#endif #define NUM_DCHANS 4 /*!< No more than 4 d-channels */ #define MAX_CHANNELS 672 /*!< No more than a DS3 per trunk group */ -- cgit v1.2.3