Compiling and linking

When compiling a Fusion application, direct the compiler to the \nms\include directory (or /opt/nms/include for UNIX) for the following MSPP API header files:

Header file

Description

mspcmd.h

Defines MSPP filter commands and IDs for each filter object.

mspdef.h

Defines functions, parameter structures, events, and errors within the MSPP service.

mspinit.h

Defines initialization parameters for MSPP endpoint and channel filters.

mspobj.h

Defines MSPP objects (such as the filter ID to an ARM filter). It defines unique identifiers that applications can use to communicate with an object. This file identifies the MSPP service objects to which queries and messages are addressed.

mspquery.h

Defines MSPP filter queries for MSPP objects and defines the return data structure for each query.

mspunsol.h

Defines MSPP event IDs and definitions for buffers appended in the unsolicited events.

Applications that use the MSPP API must also link to mspapi.lib (or libmspapi.so for UNIX) to interface with the MSPP service. They can also link to libraries installed with Fusion software and NaturalAccess. Shared libraries can be found under \nms\lib (or /opt/nms/lib for UNIX).

Refer to the Installing Natural Access for more information about NaturalAccess include and library files. For more information about MSPP filter commands and queries, refer to the Dialogic® NaturalAccess™ Media Stream Protocol Processing API Developer's Manual.

For example code from a sample MSPP API application, refer to the msppsamp demonstration program source code and to its make file. For information, refer to Fusion nailed-up sample: msppsamp.