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:
Anthony Minessale committed 2007-05-24 18:16:04 +00:00
1 parent 47ce357ccb
commit 2995ab7be1
3 files changed
+11 -3

No files matched your search

+2 -2
View File
@@ -66,10 +66,10 @@
the current IE.
*****************************************************************************/
#define Q931MoreIE() (Octet+Off - 2 < IESize)
#define Q931MoreIE() (Octet+Off - 2< IESize)
#define Q931IESizeTest(x) {\
if(Octet+Off-2 != IESize)\
if(Octet + Off - 2!= IESize)\
{\
Q931SetError(pTrunk,x, Octet, Off);\
return x;\
+5
View File
@@ -159,6 +159,11 @@ L3INT nationalUmes_Setup(Q931_TrunkInfo_t *pTrunk, L3UCHAR *IBuf, Q931mes_Generi
break;
case nationalie_GENERIC_DIGITS:
/* TODO: Implement this ie */
IOff = IOff + 4;
break;
case Q931ie_SHIFT:
/* TODO: Implement this ie */
IOff++;
break;
default:
return Q931E_ILLEGAL_IE;