Enum Class SipGatewayParamEnum

java.lang.Object
java.lang.Enum<SipGatewayParamEnum>
com.bytedesk.call.xml_curl.enums.SipGatewayParamEnum
All Implemented Interfaces:
Serializable, Comparable<SipGatewayParamEnum>, Constable

public enum SipGatewayParamEnum extends Enum<SipGatewayParamEnum>
Author:
danmo
  • Enum Constant Details

    • USERNAME

      public static final SipGatewayParamEnum USERNAME
      account username (required)
    • REALM

      public static final SipGatewayParamEnum REALM
      auth realm (same as gateway name, if blank)
    • FROM_USER

      public static final SipGatewayParamEnum FROM_USER
      username to use in from (same as username, if blank)
    • FROM_DOMAIN

      public static final SipGatewayParamEnum FROM_DOMAIN
      domain to use in from (same as realm, if blank)
    • PASSWORD

      public static final SipGatewayParamEnum PASSWORD
      account password (required)
    • EXTENSION

      public static final SipGatewayParamEnum EXTENSION
      extension for inbound calls (same as username, if blank)
    • PROXY

      public static final SipGatewayParamEnum PROXY
      proxy host (same as realm, if blank)
    • REGISTER_PROXY

      public static final SipGatewayParamEnum REGISTER_PROXY
      send register to this proxy (same as proxy, if blank)
    • EXPIRE_SECONDS

      public static final SipGatewayParamEnum EXPIRE_SECONDS
      expire in seconds (3600, if blank)
    • REGISTER

      public static final SipGatewayParamEnum REGISTER
      true or false (like when you don't want to register but want to auth to a gateway)
    • REGISTER_TRANSPORT

      public static final SipGatewayParamEnum REGISTER_TRANSPORT
      which transport to use for register
    • RETRY_SECONDS

      public static final SipGatewayParamEnum RETRY_SECONDS
      how many seconds before a retry when a failure or timeout occurs
    • CALLER_ID_IN_FROM

      public static final SipGatewayParamEnum CALLER_ID_IN_FROM
      use the callerid of an inbound call in the from field on outbound calls via this gateway
    • CONTACT_PARAMS

      public static final SipGatewayParamEnum CONTACT_PARAMS
      extra sip params to send in the contact
    • EXTENSION_IN_CONTACT

      public static final SipGatewayParamEnum EXTENSION_IN_CONTACT
      put the extension in the contact
    • PING

      public static final SipGatewayParamEnum PING
      send an options ping every x seconds, failure will unregister and/or mark it down
    • CID_TYPE

      public static final SipGatewayParamEnum CID_TYPE
      callerid header mechanism
  • Field Details

    • key

      public final String key
      配置项值
    • msg

      public final String msg
      配置项说明
  • Constructor Details

    • SipGatewayParamEnum

      private SipGatewayParamEnum(String key, String msg)
  • Method Details

    • values

      public static SipGatewayParamEnum[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SipGatewayParamEnum valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null