# Tearing down MSPP connections

Use the following functions to tear down MSPP connections:

Function | Description
mspDisableChannel | Interrupts the flow of data on a specified MSPP channel.
mspDisableEndpoint | Interrupts the flow of data through a specified MSPP endpoint.
mspDisconnect | Disassociates the MSPP endpoints and MSPP channel in a specified connection.
mspDestroyEndpoint | Destroys a specified MSPP endpoint and disables and disconnects the associated connection if the endpoint is part of an enabled connection.
mspDestroyChannel | Destroys a specified MSPP channel and disables and disconnects the associated connection if the channel is part of an enabled connection.

When tearing down MSPP connections, applications must invoke MSPP service functions in the same order that they appear in the preceding table, with the exception that mspDestroyChannel can precede or follow mspDestroyEndpoint.

For more information about MSPP functions, refer to the Dialogic® NaturalAccess™ Media Stream Protocol Processing API Developer's Manual.