L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
}Q931mes_Header;\r
\r
/*****************************************************************************\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
\r
ie Shift;\r
ie MoreData;\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie BearerCap; /* Bearer Capability */\r
ie ChanID; /* Channel Identification */\r
ie ProgInd; /* Progress Indicator */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie BearerCap; /* Bearer Capability */\r
ie ChanID; /* Channel Identification */\r
ie ProgInd; /* Progress Indicator */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie BearerCap; /* Bearer Capability */\r
ie ChanID; /* Channel Identification */\r
ie ProgInd; /* Progress Indicator */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Display; /* Display */\r
ie Signal; /* Signal */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Cause; /* Cause */\r
ie ProgInd; /* Progress Indicator */\r
ie Display; /* Display */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie SendComplete; /* Sending Complete */\r
ie Display; /* Display */\r
ie KeypadFac; /* Keypad facility */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie BearerCap; /* Bearer Capability */\r
ie NotifInd; /* Notification Indicator */\r
ie Display; /* Display */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie BearerCap; /* Bearer Capability */\r
ie Cause; /* Cause */\r
ie ProgInd; /* Progress Indicator */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Cause; /* Cause */\r
ie Display; /* Display */\r
ie Signal; /* Signal */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Cause; /* Cause */\r
ie Display; /* Display */\r
ie Signal; /* Signal */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie CallID; /* Call Identity */\r
L3UCHAR buf[1];\r
}Q931mes_Resume;\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie ChanID; /* Channel ID */\r
ie Display; /* Display */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Cause; /* Cause */\r
ie Display; /* Display */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
}Q931mes_Segment;\r
\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie SendComplete; /* Sending Complete */\r
ie RepeatInd; /* Repeat Indicator */\r
ie BearerCap; /* Bearer Capability */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie ChanID; /* Channel ID */\r
ie ProgInd; /* Progress Indicator */\r
ie Display; /* Display */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Cause; /* Cause */\r
ie CallState; /* Call State */\r
ie Display; /* Display */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Display; /* Display */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
}Q931mes_StatusEnquiry;\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie CallID; /* Call Identity */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
}Q931mes_Suspend;\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Display; /* Display */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
}Q931mes_SuspendAck;\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie Cause; /* Cause */\r
ie Display; /* Display */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie CongLevel; /* Congestion level */\r
ie Cause; /* Cause */\r
ie Display; /* Display */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie MoreData; /* More data */\r
ie UserUser; /* User-user */\r
L3UCHAR buf[1]; /* Dynamic buffer */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie ChanID; /* Channel identification */\r
ie Display; /* Display */\r
ie RestartInd; /* Restart indicator */\r
L3UINT Size; /* Size of message in bytes */\r
L3UCHAR ProtDisc; /* Protocol Discriminator */\r
L3UCHAR MesType; /* Message type */\r
- L3USHORT CRV; /* Call reference value */\r
+ L3INT CRV; /* Call reference value */\r
ie ChanID; /* Channel identification */\r
ie Display; /* Display */\r
ie RestartWin; /* Restart Window */\r
{\r
Q931_TrState_NoAlignment=0, /* Trunk not aligned */\r
Q931_TrState_Aligning=1, /* Aligning in progress */\r
- Q931_TrState_Aligned=2, /* Trunk Aligned */\r
+ Q931_TrState_Aligned=2 /* Trunk Aligned */\r
}TrunkState;\r
\r
L3INT LastCRV; /* Last used crv for the trunk. */\r
L3INT Q931AllocateCRV(Q931_TrunkInfo *pTrunk, L3INT iCRV, L3INT * callIndex);\r
L3INT Q931FindCRV(Q931_TrunkInfo *pTrunk, L3INT crv, L3INT *callindex);\r
L3INT Q931GetCallState(Q931_TrunkInfo *pTrunk, L3INT iCRV);\r
-L3INT Q931StartTimer(Q931_TrunkInfo *pTrunk, L3INT callIndex, L3INT iTimer);\r
-L3INT Q931StopTimer(Q931_TrunkInfo *pTrunk, L3INT callindex, L3INT iTimer);\r
+L3INT Q931StartTimer(Q931_TrunkInfo *pTrunk, L3INT callIndex, L3USHORT iTimer);\r
+L3INT Q931StopTimer(Q931_TrunkInfo *pTrunk, L3INT callindex, L3USHORT iTimer);\r
L3INT Q931SetState(Q931_TrunkInfo *pTrunk, L3INT callIndex, L3INT iState);\r
L3ULONG Q931GetTime();\r
void Q931AddStateEntry(L3UCHAR iD, L3INT iState, L3INT iMes, L3UCHAR cDir);\r