DTM_BRI_TRUNK_STATUS

DTM_BRI_TRUNK_STATUS contains current information about trunk status and error statistics for BRI trunks. This data can be obtained through an asynchronous function call (dtmGetBriTrunkStatus). The structure is defined as follows:

typedef struct
{
    DWORD size;                /* size of this structure      */
    DWORD board;               /* board number                */
    DWORD trunk;               /* trunk number                */
    DWORD starttime;           /* when counts started (time_t)*/
    WORD state;                /* state DTM_BRI_STATE_XX      */
    WORD type;                 /* mode TE or NT               */
    DWORD slips;               /* slips accumulator           */
    DWORD errors;              /* errors accumulator          */
    DWORD receives;            /* receives accumulator        */
    DWORD transmits;           /* transmits accumulator       */
    WORD b_channel1;           /* B Channel 1                 */
    WORD b_channel2;           /* B Channel 2                 */
} DTM_BRI_TRUNK_STATUS;