Provides an entry and exit point for duplex voice and fax data at the PSTN interface.
MSP_ENDPOINT_DS0
DS0_ENDPOINT_PARMS
Used for duplex and simplex voice connections and T.38 fax connections.
Allowed connections include:
Full duplex voice channels
Simplex voice channels
Full duplex T.38 fax channels
Note: The ADI service must be opened on the same context on which the DS0 endpoint is created.
DS0 full duplex endpoint filters respond to the following command any time after the endpoint is created:
|
Command ID |
Description |
|
MSP_CMD_DS0_CONFIG |
Sends a DS0_ENDPOINT_PARMS structure for a particular endpoint filter. The structure specifies whether the endpoint transmits data in voice or fax transmission mode (this is set to voice by default). |
When sending MSP_CMD_DS0_CONFIG commands to DS0 endpoint filters, include a pointer to the following structure:
typedef struct tag_DS0_ENDPOINT_PARMS{
MSP_MEDIA media;
} DS0_ENDPOINT_PARMS;
The MSP_MEDIA parameter is defined as an enumerated data type where MSP_VOICE is the first defined (0) value, and MSP_FAX is the second (1) value.
For more information about MSPP service endpoint initialization and command parameters, refer to DS0 endpoint address structure, DS0 endpoint parameter structure, and to the mspdef.h header file.
None.
None.
Use DS0 endpoint filters to send and receive data to and from PSTN networks. DS0 endpoints are used in both T.38 fax and voice connections.
The following illustration shows a DS0 endpoint filter:
DS0 endpoint filter
RTP IPv4 full duplex, RTP IPv6 full duplex, T.38 fax relay, Voice decoder, Voice encoder