Skip to main content

Coach hang up

During the coaching call, the coach participant can hang up and leave the call at any time.

This can be done using the DIALER.HANGUP event.

After the coach hangs up, you shall receive the following DIALER.CALL_STATUS events in this chronological order:

{
"type": "DIALER.CALL_STATUS",
"payload": {
"flow": "coaching",
"status": "hanging"
}
}
{
"type": "DIALER.CALL_STATUS",
"payload": {
"status": "idle"
}
}

Coachee agent perspective

If the coach joined the call without using incognito mode, the coachee agent should have received a DIALER.SYNC exposing the coachParticipant property as part of metadata.

Once the coach hangs up, the coachee agent shall receive a DIALER.SYNC with the coachParticipant property in metadata being undefined.