The cause for a call hangup and the hangup source information is available in the Call Detail Record (CDR) of a call. CDRs can be accessed via our API and through the Plivo console. Hangup information is also included in callback requests sent on call hangup.
- For outbound API calls, the hangup information is included in the payload sent to the hangup_url specified in the Make Call API request.
- For incoming calls, the information is included in the payload sent to the hangup_url specified for the associated Plivo Application.
- For calls initiated using the <Dial> XML element, the information is included in the payload of DialHangup events sent to the Dial callbackUrl.
For a comprehensive list of possible hangup causes and hangup sources, see our documentation.