Version







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;


typedef struct tag_MSP_CHANNEL_ADDR
{
DWORD size;
DWORD nBoard;
MSP_CHANNEL_TYPE channelType;
DWORD FilterAttribs;
} MSP_CHANNEL_ADDR;
typedef struct tag_msp_FILTER_FAXRELAY_CONFIG
{ WORD modemask; WORD eventmask; WORD maxbitrate; WORD timeout; } msp_FILTER_FAXRELAY_CONFIG;

Figure 2. Creating MSPP Endpoints and Channels
Figure 3. Connecting MSPP Endpoints and Channels

Figure 4. MSPP Asymmetrical Duplex Connections

Figure 5. MSPP Simplex Switch Connection



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





Figure 8. MSPP G.723.1 Channel Filters


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.



Version