Steps towards parsing NI2 Setup message.
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@146 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
47ce357ccb
commit
2995ab7be1
|
@ -57,6 +57,9 @@ isdn/nationalStateNT.o \
|
||||||
isdn/nationalStateTE.o \
|
isdn/nationalStateTE.o \
|
||||||
isdn/Q932mes.o
|
isdn/Q932mes.o
|
||||||
|
|
||||||
|
HEADERS=isdn/include/Q931.h \
|
||||||
|
include/openzap.h
|
||||||
|
|
||||||
PWD=$(shell pwd)
|
PWD=$(shell pwd)
|
||||||
INCS=-I$(PWD)/include -I$(PWD)/isdn/include
|
INCS=-I$(PWD)/include -I$(PWD)/isdn/include
|
||||||
CFLAGS=$(ZAP_CFLAGS) $(INCS)
|
CFLAGS=$(ZAP_CFLAGS) $(INCS)
|
||||||
|
@ -67,7 +70,7 @@ include general.makefile $(ZAP_MODS)
|
||||||
|
|
||||||
all: $(MYLIB)
|
all: $(MYLIB)
|
||||||
|
|
||||||
$(MYLIB): $(OBJS)
|
$(MYLIB): $(OBJS) $(HEADERS)
|
||||||
ar rcs $(MYLIB) $(OBJS)
|
ar rcs $(MYLIB) $(OBJS)
|
||||||
ranlib $(MYLIB)
|
ranlib $(MYLIB)
|
||||||
|
|
||||||
|
|
|
@ -66,10 +66,10 @@
|
||||||
the current IE.
|
the current IE.
|
||||||
|
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#define Q931MoreIE() (Octet+Off - 2 < IESize)
|
#define Q931MoreIE() (Octet+Off - 2< IESize)
|
||||||
|
|
||||||
#define Q931IESizeTest(x) {\
|
#define Q931IESizeTest(x) {\
|
||||||
if(Octet+Off-2 != IESize)\
|
if(Octet + Off - 2!= IESize)\
|
||||||
{\
|
{\
|
||||||
Q931SetError(pTrunk,x, Octet, Off);\
|
Q931SetError(pTrunk,x, Octet, Off);\
|
||||||
return x;\
|
return x;\
|
||||||
|
|
|
@ -159,6 +159,11 @@ L3INT nationalUmes_Setup(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, Q931mes_Generi
|
||||||
break;
|
break;
|
||||||
case nationalie_GENERIC_DIGITS:
|
case nationalie_GENERIC_DIGITS:
|
||||||
/* TODO: Implement this ie */
|
/* TODO: Implement this ie */
|
||||||
|
IOff = IOff + 4;
|
||||||
|
break;
|
||||||
|
case Q931ie_SHIFT:
|
||||||
|
/* TODO: Implement this ie */
|
||||||
|
IOff++;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return Q931E_ILLEGAL_IE;
|
return Q931E_ILLEGAL_IE;
|
||||||
|
|
Loading…
Reference in New Issue