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
This commit is contained in:
Tilghman Lesher
2007-12-26 22:38:02 +00:00
parent fa928c14c7
commit c3fc2a76f5
2 changed files with 27 additions and 21 deletions

View File

@@ -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 */