The CT_DEVINFO structure supplies information about a device. This structure is used by the SCbus routing functions identified by the suffix _getctinfo( ). On return from the function, the CT_DEVINFO structure contains the relevant information and is defined as follows:
typedef struct {
unsigned long ct_prodid;
unsigned char ct_devfamily;
unsigned char ct_devmode;
unsigned char ct_nettype;
unsigned char ct_busmode;
unsigned char ct_busencoding;
unsigned char ct_rfu[7]; /* reserved for future use */
} CT_DEVINFO;
Valid values for each of the members of the CT_DEVINFO structure are defined in voxlib.h.
CT_DFD41E |
analog or voice channel of a D/41ESC or VFX/40ESC board |
CT_DFSPAN |
analog channel of a D/160SC-LS board, a voice channel of a D/240SC, D/320SC, D/240SC-T1, D/300SC-E1 or D/160SC-LS board, or a digital channel of a D/240SC-T1 or D/300SC-E1 board |
CT_DFMSI |
a station on an MSI board |
CT_DMRESOURCE |
analog channel not in use |
CT_DMNETWORK |
analog channel available to process calls from the telephone network |
CT_NTNONE |
D/41ESC or VFX/40ESC board configured as a resource device: voice channels are available for call processing; analog channels are disabled. |
CT_NTANALOG |
analog and voice devices on board are handling call processing |
CT_NTT1 |
D/240SC-T1 T-1 digital network interface |
CT_NTE1 |
D/300SC-E1 E-1 digital network interface |
CT_NTMSI |
MSI/SC station interface |
CT_BMPEB |
PEB (PCM Expansion Bus) architecture |
CT_BMSCBUS |
SCbus architecture |
CT_BEULAW |
Mu-law encoding |
CT_BEALAW |
A-law encoding |
Click here to contact Dialogic Customer Engineering
Copyright 2001, Dialogic Corporation