# Setting up MSPP connections

Applications create end-to-end media channels by creating MSPP endpoints and channels and joining them to form simplex or duplex connections. The following table shows the MSPP functions used to set up connections and transfer data across a Fusion gateway:

Function | Description
mspCreateEndpoint | Creates an endpoint and associates it with a context. The type of endpoint and its associated timeslot is provided in an ADDR structure. The timeslot must be the same timeslot used to open the MSPP service instance on the context.
mspCreateChannel | Creates a media channel and associates it with a context. The type of channel is specified in an ADDR structure through an alphanumeric text string.
mspConnect | Connects a media channel to two endpoints.
mspEnableChannel | Enables data to pass between two endpoints through an MSPP channel.
mspEnableEndpoint | Enables data to pass through an endpoint that was previously disabled.