Hang up
This event is used to hang up an ongoing call.
{
"type": "DIALER.HANGUP"
}
If you want to reject an incoming call, you can use the DIALER.REJECT
event instead.
note
If you try to hang up a call that has already been ended, the event will be ignored and you won't receive any error or acknowledgment.