Version










|
Channel Type
|
Associated Endpoints
| |
|---|---|---|
|
G.711 (simplex/duplex)
|
RTP
|
DS0
|
|
G.723.1 (simplex/duplex)
|
RTP
|
DS0
|
|
G.726 (simplex/duplex)
|
RTP
|
DS0
|
|
G.729A (simplex/duplex)
|
RTP
|
DS0
|
|
T.38 Fax (duplex only)
|
UDP
|
DS0
|
Figure 2. Creating MSPP Endpoints and Channels
Figure 3. Connecting MSPP Endpoints and Channels

Figure 4. MSPP Asymmetric Duplex Connections




H2NMS_DWORD(DWORD val) H2NMS_WORD(WORD val)
NMS2H_DWORD(DWORD val) NMS2H_WORD(WORD val)
DWORD dword; WORD word; // From host to board byte ordering format dword = H2NMS_DWORD(dword); word = H2NMS_WORD(word); // From board to host byte ordering format dword = NMS2H_DWORD(dword); word = NMS2H_WORD(word);Note: These macros do not need to be wrapped around an #ifdef _OS_ preprocessor. On systems that do not need any conversion, output from these macros is the same as input.


Figure 5. MSPP Function and Event Sequence
Figure 6. MSPP Call States


typedef struct tag_DS0_ENDPOINT_ADDR
{
/* Address attributes */
INT32 nTimeslot; /* Timeslot address */
} DS0_ENDPOINT_ADDR;
typedef struct tag_DS0_ENDPOINT_PARMS
{
MSP_MEDIA media;
} DS0_ENDPOINT_PARMS;


Figure 7. MSPP G.723.1 Channel Filters


Note: MSPP channels must be connected before they can receive mspSendCommand commands. In addition, certain channel filters (voice encoders, voice decoders, and T.38 fax modulator/demodulator filter) have to be enabled before you can command them.


Version