All Implemented Interfaces:
Jsonable

public final class Voice extends Capability
Voice capability configuration settings.
  • Method Details

    • getRegion

      public Region getRegion()
      The region which all inbound, programmable SIP and SIP connect calls will be sent to unless the call is sent to a regional endpoint, if the call is using a regional endpoint this will override the application setting.
      Returns:
      The region to process calls through as an enum, or null if not specified (the default).
      Since:
      7.7.0
    • getSignedCallbacks

      Whether to use signed webhooks for this capability. See the documentation on webhooks for details.
      Returns:
      true if webhooks are signed, or null if unknown (the default).
      Since:
      7.7.0
    • getConversationsTtl

      The length of time the named conversation will remain active for after creation, in hours. 0 means infinite.
      Returns:
      The time-to-live of the named conversation, or null if unknown / not applicable (the default).
      Since:
      7.7.0
    • getLegPersistenceTime

      Persistence duration for conversation legs, in days. Maximum value is 31, default is 7.
      Returns:
      The leg persistence time in dats as an integer, or null if unknown.
      Since:
      8.12.0
    • getType

      Description copied from class: Capability
      The capability's type.
      Specified by:
      getType in class Capability
      Returns:
      This capability's type as an enum.
    • builder

      public static Voice.Builder builder()
      Entry point for constructing an instance of this class.
      Returns:
      A new Builder.