From: Tilghman Lesher Date: Wed, 26 Dec 2007 22:38:02 +0000 (+0000) Subject: Allow more spans than 32. Also, rearrange compiler flags so the most often X-Git-Tag: 1.6.0-beta1~3^2~287 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3fc2a76f5440a0194beb1d2e2f415a5be4a5963;p=thirdparty%2Fasterisk.git 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 --- diff --git a/build_tools/cflags.xml b/build_tools/cflags.xml index 2cd423e01c..87b21e5193 100644 --- a/build_tools/cflags.xml +++ b/build_tools/cflags.xml @@ -1,24 +1,20 @@ - - - + - - - - DEBUG_THREADS + - + + yes - + - + - + - + no @@ -33,17 +29,23 @@ G711_NEW_ALGORITHM - + - + - + + + + DEBUG_THREADS + + + + - + - - yes + diff --git a/channels/chan_zap.c b/channels/chan_zap.c index 0e01298a5f..76ece38749 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 */