Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 529
TDM bus time slot information — SC_TSINFO
SC_TSINFO
TDM bus time slot information
typedef struct {
unsigned long sc_numts;
long *sc_tsarrayp;
} SC_TSINFO;
!
!!
! Description
The SC_TSINFO data structure contains the number of time division multiplexing (TDM) bus time
slots associated with a particular device and a pointer to an array that holds the actual TDM bus
time slot number(s). The SC_TSINFO structure is used by TDM bus routing functions identified by
the suffix:
_getxmitslot( ) to supply TDM bus time slot information about a device and fill the data
structure
_listen( ) to use this time slot information to connect two devices.
The prefix for these functions identifies the type of device, such as ag_ (analog), dt_ (digital
network interface), dx_ (voice), fx_ (fax), and ms_ (modular station interface).
The TDM bus includes the CT Bus and SCbus. The CT Bus has 4096 bi-directional time slots,
while the SCbus has 1024 bi-directional time slots.
This structure is defined in dxxxlib.h.
!
!!
! Field Descriptions
The fields of the SC_TSINFO structure are described as follows:
sc_numts
initialized with the number of TDM bus time slots associated with a device, typically 1.
sc_tsarrayp
initialized with a pointer to an array of long integers. The first element of this array contains a
valid TDM bus time slot number which is obtained by issuing a call to a _getxmitslot( )
function.
!
!!
! Example
See dx_getxmitslot( ) for an example of how to use the SC_TSINFO structure.