Is the question related to application level session termination of the translport level connection termination?
These are the few ways in which the session could be terminated(keeping both transport and application level)
- Client sends the termination message( like CCR-T for Gx and STR from AF)
- Server initiates the session termination by sending message (like RAR from PCRF on Gx, ASR from PCRF to AF)
- Transport level termination when a node sends Disconnect-Peer-Request from client or server
- In case, DWR is not answered by the other node then also the transport level connection is terminated
- In case, Origin-State-Id sent in the message is incremented from the previous value then the node receiving the message will know that the peer is restarted and all the session maintained previously are removed
Regards,
Peeyush Sharma