Version
typedef struct _TRAU_LOAD_DONE_DATA
{
unsigned type; /* Vocoder type identifier */
TRAUDSPID dspid; /* The associated TRAU identifier */
unsigned board; /* Board ( 0-15 ) */
unsigned dsp; /* DSP ( 1-48 ) */
unsigned channels; /* Channels created */
unsigned frame_tic; /* Tics in .25ms increments */
unsigned max_frame_size; /* Host-based Fusion specific */
/* SWITCHING INFORMATION FOLLOWS */
DWORD bus; /* Bus used */
int pcm_stream_from_dsp; /* Stream used for voice PCM */
int pcm_stream_to_dsp; /* Stream used for voice PCM */
int pcm_count; /* Number of PCM slots used */
DWORD pcm_slot[ PCM_MAX_SLOTS ]; /* Array of PCM slots */
/* COMPRESSED TX FUSION DATA ONLY (set to 0 if HB) */
int tx_stream_from_dsp; /* Stream used for data from TX */
int tx_stream_to_dsp; /* Stream used for data to TX */
int tx_count; /* Number of bonded time slots */
DWORD tx_slot[ TX_MAX_SLOTS ];/* Array of data slots */
} TRAU_LOAD_DONE_DATA;

|
Type
|
unsigned
|
|
Units
|
Not applicable.
|
|
Values
|
Valid AG TRAU program name.
|
|
Description
|
Type of AG TRAU program loaded.
|
|
Type
|
TRAUDSPID
|
|
Units
|
Not applicable.
|
|
Values
|
Not applicable.
|
|
Description
|
AG TRAU service identifier assigned to the DSP to which the AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
0 - 15
|
|
Description
|
NMS board on which the AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
1 - 48
|
|
Description
|
DSP on the specified board onto which the AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
0 - 7
|
|
Description
|
Number of channels of that may be attached on the loaded AG TRAU program.
|
|
Type
|
unsigned
|
|
Units
|
.25 ms increments
|
|
Values
|
Not applicable.
|
|
Description
|
Duration of voice data stored within HDLC frame created by the AG TRAU channel.
|
|
Type
|
unsigned
|
|
Units
|
.25 ms increments
|
|
Values
|
Not applicable.
|
|
Description
|
Maximum duration of voice data stored within HDLC frame created by the AG TRAU channel.
|
|
Type
|
DWORD
|
|
Units
|
Not applicable.
|
|
Values
|
00 = Local bus 01 = H.100 bus
|
|
Description
|
Type of physical bus used to transfer data.
|
|
Type
|
integer
|
|
Units
|
MVIP-95 stream number
|
|
Values
|
28
|
|
Description
|
Stream used to transfer voice PCM data from the AG TRAU program to the PSTN interface (timeslots vary according to channel).
|
|
Type
|
integer
|
|
Units
|
MVIP-95 stream number
|
|
Values
|
29
|
|
Description
|
Stream used to transfer voice PCM data from the PSTN interface to the AG TRAU program (timeslots vary according to channel).
|
|
Type
|
integer
|
|
Units
|
Integer.
|
|
Values
|
0 - 7
|
|
Description
|
Total number of timeslots used to carry channel data between the specified AG TRAU program and the PSTN interface.
|

Note: More specific information about individual channels on the specified AG TRAU program is returned in an array of TRAU_CHN_INFO_DATA substructures. For details about information returned in TRAU_CHN_INFO_DATA substructures, refer to Attach Channel Info Substructure later in this appendix.
typedef struct _TRAU_INFO
{
unsigned size; /* Size used (determined by #chns */
CTAHD loadhd; /* Associated load handle */
unsigned type; /* Vocoder type */
unsigned max_channels; /* Max channels supported */
unsigned detached_channels; /* Number of detached chns */
unsigned frame_tic; /* Tics in .25ms increments */
unsigned max_frame_size; /* Host-based: max chn frame size */
unsigned underrun_count_read; /* Underrun up since load_done */
unsigned underrun_count_write; /* Underrun down since load_done */
TRAU_CHN_INFO_DATA pChannel[MAX_CHANNELS_DSP]; /* Channel info */
} TRAU_INFO;

|
Type
|
unsigned
|
|
Units
|
Bytes
|
|
Values
|
Not applicable.
|
|
Description
|
Size of structure (determined by number of channels running on the DSP).
|
|
Type
|
CTAHD
|
|
Units
|
Not applicable.
|
|
Values
|
Not applicable.
|
|
Description
|
AG TRAU service load handle associated with specified AG TRAU program/dspid.
|
|
Type
|
unsigned
|
|
Units
|
Not applicable.
|
|
Values
|
Valid AG TRAU program type
|
|
Description
|
Type of AG TRAU program loaded.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
0 - 7
|
|
Description
|
Maximum number of channels that may be attached for the specified AG TRAU program.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
0 - 7
|
|
Description
|
Number of channels that may be attached.
|
|
Type
|
unsigned
|
|
Units
|
.25 ms increments
|
|
Values
|
Not applicable.
|
|
Description
|
Duration of voice data stored within HDLC frame created by the AG TRAU channel.
|
|
Type
|
unsigned
|
|
Units
|
.25 ms increments
|
|
Values
|
Not applicable.
|
|
Description
|
Maximum duration of voice data stored within HDLC frame created by the AG TRAU channel.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
Not applicable.
|
|
Description
|
Number of underruns up that have occurred since the specified AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
Not applicable.
|
|
Description
|
Number of underruns down that have occurred since the specified AG TRAU program was loaded.
|

typedef struct _TRAU_CHN_INFO_DATA
{
CTAHD ctahd; /* ctahd associated with this trauchn */
TRAU_STATE state; /* State of the channel defined in TRAU_STATE */
unsigned chn_underrun_count_read; /* Underrun up since load_done */
unsigned chn_underrun_count_write; /* Underrun down since load_done */
DWORD bus; /* Bus used */
int pcm_stream_from_dsp; /* Stream used for voice PCM */
int pcm_stream_to_dsp; /* Stream used for voice PCM */
DWORD pcm_slot; /* PCM bus,stream,slot that voice is on */
/* TX FUSION ONLY DATA (set to 0 if HB) */
int tx_stream_from_dsp; /* Stream used for HDLC data from TX */
int tx_stream_to_dsp; /* Stream used for HDLC data to TX */
int tx_count; /* Number of bonded time slots used */
DWORD tx_slot[ TX_MAX_SLOTS ]; /* Array of compressed slots */
} TRAU_CHN_INFO_DATA;


|
Type
|
CTAHD
|
|
Units
|
Not applicable.
|
|
Values
|
Not applicable.
|
|
Description
|
CT Access handle associated with this AG TRAU channel.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
Not applicable.
|
|
Description
|
Number of underruns up that have occurred since the AG TRAU channel was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Integer
|
|
Values
|
Not applicable.
|
|
Description
|
Number of underruns down that have occurred since the AG TRAU channel was loaded.
|
|
Type
|
DWORD
|
|
Units
|
Not applicable.
|
|
Values
|
00 = Local bus 01 = H.100 bus
|
|
Description
|
Type of physical bus used to transfer data across the gateway.
|
|
Type
|
integer
|
|
Units
|
MVIP-95 stream number
|
|
Values
|
28
|
|
Description
|
Stream used to transfer PCM voice data from the AG TRAU channel to the PSTN interface.
|
|
Type
|
integer
|
|
Units
|
MVIP-95 stream number
|
|
Values
|
29
|
|
Description
|
Stream used to transfer PCM voice data from the PSTN interface to the AG TRAU channel.
|

typedef struct _TRAU_ATTACH_DATA
{
TRAUDSPID dspid; /* ID of the DSP attached to */
unsigned board; /* Board ( 0-15 ) */
unsigned dsp; /* DSP ( 1-48 ) */
unsigned channel; /* Channel number for DSP ( 0-7 ) */
/* SWITCHING INFORMATION FOLLOWS */
DWORD bus; /* Bus used */
int pcm_stream_from_dsp; /* Stream used for voice PCM */
int pcm_stream_to_dsp; /* Stream used for voice PCM */
DWORD pcm_slot; /* Timeslot that PCM voice is on */
/* TX FUSION ONLY DATA (set to 0 if HB) */
int tx_stream_from_dsp; /* Stream used for data from TX */
int tx_stream_to_dsp; /* Stream used for data to TX */
int tx_count; /* Number of bonded slots used */
DWORD tx_slot[ TX_MAX_SLOTS ] ;/* Array of compressed slots */
} TRAU_ATTACH_DATA;

|
Type
|
TRAUDSPID
|
|
Units
|
Not applicable.
|
|
Values
|
Not applicable.
|
|
Description
|
AG TRAU service identifier assigned to the DSP on which the AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Not applicable.
|
|
Values
|
0 - 15
|
|
Description
|
Board on which the AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Not applicable.
|
|
Values
|
1 - 48
|
|
Description
|
DSP on the specified board onto which the AG TRAU program was loaded.
|
|
Type
|
unsigned
|
|
Units
|
Not applicable.
|
|
Values
|
0 - 7
|
|
Description
|
Number of channels of that maybe attached on the loaded AG TRAU program.
|
|
Type
|
DWORD
|
|
Units
|
Not applicable.
|
|
Values
|
00 = Local bus 01 = H.100 bus
|
|
Description
|
Type of physical bus used to transfer data across the gateway.
|
|
Type
|
integer
|
|
Units
|
MVIP-95 stream number
|
|
Values
|
28
|
|
Description
|
Stream used to transfer PCM voice data from the AG TRAU channel to the PSTN interface.
|
|
Type
|
integer
|
|
Units
|
MVIP-95 stream number
|
|
Values
|
29
|
|
Description
|
Stream used to transfer PCM voice data from the PSTN interface to the AG TRAU channel.
|
Version