Stopping a call or session

Use the following functions to stop a call or session:

Function

Description.

h324CloseChannel

Closes an existing media channel (audio or video).

The H.324M Middleware returns one of the following events:

H324EVN_CHANNEL_CLOSED

H.324M Middleware closed the specified channel.

H324EVN_CHANNEL_CLOSE_FAILED

The remote terminal rejected the request to close the channel.

Note: Closing media channels when terminating a call is not required.

h324EndSession

Terminates the current H.324 session at the end of a call, by sending an EndSession message to the remote terminal.

This H.324M Middleware returns one of the following events:

H324EVN_END_SESSION_DONE

H.324M Middleware ended the current H.324 session.

H324EVN_END_SESSION_TIMER_EXPIRED

The remote terminal did not respond properly to the H.324 end session command. Pass this event to the H.324M Middleware. The Middleware ends the session and then returns an H324_END_SESSION_DONE event.

h324Stop

Stops the H.324M Middleware for the specified MUX endpoint. This function must be called at the end of an H.324 call.

h324Delete

Cleanly releases any objects and memory associated with an instance of the H.324M Middleware.