# EndSession state

Sends out the H.245 EndSession message or processes an incoming H.245 EndSession message, and then waits to be shut down.

Enters state | Upon receiving h324EndSession or receiving the H.245 EndSession message.
Exits state | Upon receiving h324Stop, the Middleware transitions to the End state.
Related functions | h324Stop
Normal events | None.
Error events | H324EVN_H245_INTERNAL_ERROR