From 0c8704da07d0f9f9d14bde19b49f073253fb1808 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 27 May 2007 15:01:40 +0000 Subject: [PATCH] Tweak and add some defines. git-svn-id: http://svn.openzap.org/svn/openzap/trunk@164 a93c3328-9c30-0410-af19-c9cd2b2d52af --- libs/openzap/src/isdn/include/Q931.h | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libs/openzap/src/isdn/include/Q931.h b/libs/openzap/src/isdn/include/Q931.h index 2b5a51700c..83b94df8a8 100644 --- a/libs/openzap/src/isdn/include/Q931.h +++ b/libs/openzap/src/isdn/include/Q931.h @@ -231,17 +231,27 @@ const char *q931_error_to_name(q931_error_t error); /* WARNING! Initialize Q931CreateDialectCB[] will NULL when increasing the */ /* Q931MAXDLCT value to avoid Q931Initialize from crashing if one entry is */ /* not used. */ -#define Q931MAXDLCT 4 /* Max dialects included in this */ - /* compile. User and Network count as */ - /* one dialect each. */ +#define Q931MAXDLCT 4 /* Max dialects included in this */ + /* compile. User and Network count as */ + /* one dialect each. */ -#define Q931MAXMES 255 /* Number of messages */ +#define Q931MAXMES 128 /* Number of messages */ -#define Q931MAXIE 255 /* Number of IE */ +#define Q931MAXIE 255 /* Number of IE */ + +#define Q931MAXUSEDIE 50 /* Maximum number of ie types per Dialect */ + +#define Q931MAXCODESETS 7 /* Maximum number of codests (by spec, 0-7 */ #define Q931MAXSTATE 100 /* Size of state tables */ +/***************************************************************************** + + + +*****************************************************************************/ + /***************************************************************************** Call States for ITU-T Q.931 TE (User Mode)