How to get that call is end in Android

In Android if the user ends the call then how to know by us that the user ends the call and how to we update that status on our db???

1 Like

anyone, please tell me the solution