Package com.bytedesk.call.xml_curl.enums
Enum Class SipGatewayParamEnum
- All Implemented Interfaces:
Serializable,Comparable<SipGatewayParamEnum>,Constable
- Author:
- danmo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionuse the callerid of an inbound call in the from field on outbound calls via this gatewaycallerid header mechanismextra sip params to send in the contactexpire in seconds (3600, if blank)extension for inbound calls (same as username, if blank)put the extension in the contactdomain to use in from (same as realm, if blank)username to use in from (same as username, if blank)account password (required)send an options ping every x seconds, failure will unregister and/or mark it downproxy host (same as realm, if blank)auth realm (same as gateway name, if blank)true or false (like when you don't want to register but want to auth to a gateway)send register to this proxy (same as proxy, if blank)which transport to use for registerhow many seconds before a retry when a failure or timeout occursaccount username (required) -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SipGatewayParamEnumReturns the enum constant of this class with the specified name.static SipGatewayParamEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USERNAME
account username (required) -
REALM
auth realm (same as gateway name, if blank) -
FROM_USER
username to use in from (same as username, if blank) -
FROM_DOMAIN
domain to use in from (same as realm, if blank) -
PASSWORD
account password (required) -
EXTENSION
extension for inbound calls (same as username, if blank) -
PROXY
proxy host (same as realm, if blank) -
REGISTER_PROXY
send register to this proxy (same as proxy, if blank) -
EXPIRE_SECONDS
expire in seconds (3600, if blank) -
REGISTER
true or false (like when you don't want to register but want to auth to a gateway) -
REGISTER_TRANSPORT
which transport to use for register -
RETRY_SECONDS
how many seconds before a retry when a failure or timeout occurs -
CALLER_ID_IN_FROM
use the callerid of an inbound call in the from field on outbound calls via this gateway -
CONTACT_PARAMS
extra sip params to send in the contact -
EXTENSION_IN_CONTACT
put the extension in the contact -
PING
send an options ping every x seconds, failure will unregister and/or mark it down -
CID_TYPE
callerid header mechanism
-
-
Field Details
-
key
配置项值 -
msg
配置项说明
-
-
Constructor Details
-
SipGatewayParamEnum
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-