Class DisconnectCallEvent


public class DisconnectCallEvent extends CallEvent
This callback is made when the call is disconnected.

It's a POST request to the specified calling callback URL. This event doesn't support instructions and only supports the hangup action.

See Also:
  • Method Details

    • getReason

      public CallReasonType getReason()
      The reason the call was disconnected
      Returns:
      Reason value
    • getResult

      public CallResultType getResult()
      The result of the call
      Returns:
      Result value
    • getDebit

      public Price getDebit()
      Amount charged for the call
      Returns:
      charge value
    • getUserRate

      public Price getUserRate()
      Rate per minute for the call
      Returns:
      rate value
    • getTo

      public Destination getTo()
      Information about the recipient of the call
      Returns:
      Recipient information
    • getApplicationKey

      public String getApplicationKey()
      The unique application key
      Returns:
      Application key value
    • getDuration

      public Integer getDuration()
      The duration of the call in seconds
      Returns:
      Call duration
    • getFrom

      public String getFrom()
      Information about the initiator of the call.
      Returns:
      Initiator information
    • toString

      public String toString()
      Overrides:
      toString in class CallEvent
    • builder

      public static DisconnectCallEvent.Builder<?> builder()