How to get event status when IVR calls getting disconnected due to application error.

I just want to specify regarding the Session End event issue.

Currently the bot ends an existing session or gives out end event if the user on an IVR call disconnects the call. However, we want to get the information(Event Status) about the End Event from the bot if the IVR call gets abruptly disconnected due to an application error.

For Example when the bot says “Sorry an Application error has occurred, Good bye” during a call. This issue is specific to the IVR call.

Solving this issue will help us identify abruptly ended (incomplete) call conversation which is critical for the project.