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,25 +1,21 @@ - - - + - + - - 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 */