public static final class BindAxnExtensionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BindAxnExtensionRequest.Builder |
ASRModelId(String ASRModelId)
The ID of the ASR model.
|
BindAxnExtensionRequest.Builder |
ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR).
|
BindAxnExtensionRequest |
build() |
BindAxnExtensionRequest.Builder |
callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the AXN extension binding.
|
BindAxnExtensionRequest.Builder |
callRestrict(String callRestrict)
The status of call restrictions.
|
BindAxnExtensionRequest.Builder |
expectCity(String expectCity)
Specifies the city to which phone number X to be selected belongs.
|
BindAxnExtensionRequest.Builder |
expiration(String expiration)
The expiration time of the AXN extension binding.
|
BindAxnExtensionRequest.Builder |
extend(String extend)
Extend.
|
BindAxnExtensionRequest.Builder |
extension(String extension)
The extension of phone number X.
|
BindAxnExtensionRequest.Builder |
isRecordingEnabled(Boolean isRecordingEnabled)
Specifies whether to record all calls made by the bound phone numbers.
|
BindAxnExtensionRequest.Builder |
outId(String outId)
The extension field for the external business.
|
BindAxnExtensionRequest.Builder |
outOrderId(String outOrderId)
The ID of the external business.
|
BindAxnExtensionRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
BindAxnExtensionRequest.Builder |
phoneNoA(String phoneNoA)
Phone number A in the AXN extension binding.
|
BindAxnExtensionRequest.Builder |
phoneNoB(String phoneNoB)
Phone number B in the AXN extension binding.
|
BindAxnExtensionRequest.Builder |
phoneNoX(String phoneNoX)
Phone number X in the AXN extension binding.
|
BindAxnExtensionRequest.Builder |
poolKey(String poolKey)
The key of the phone number pool.
|
BindAxnExtensionRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
BindAxnExtensionRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
BindAxnExtensionRequest.Builder |
ringConfig(String ringConfig)
Sets the ringtone for enterprise Color Ring Back Tone (CRBT) in the AXN extension binding.
|
public BindAxnExtensionRequest.Builder ASRModelId(String ASRModelId)
The ID of the ASR model. On the Automatic Speech Recognition (ASR) Model Management page, you can view the ID of the ASR model.
example:980abddb908f48e8b987cb2cd303****
public BindAxnExtensionRequest.Builder ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR). Valid values:
True
public BindAxnExtensionRequest.Builder callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the AXN extension binding. Fixed value: 1, indicating that phone number X is displayed on both the calling phone and the called phone.
example:Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
1
public BindAxnExtensionRequest.Builder callRestrict(String callRestrict)
The status of call restrictions. Valid values:
CONTROL_AX_DISABLE
public BindAxnExtensionRequest.Builder expectCity(String expectCity)
Specifies the city to which phone number X to be selected belongs.
hangzhou
public BindAxnExtensionRequest.Builder expiration(String expiration)
The expiration time of the AXN extension binding. The value is accurate to seconds.
The expiration time must be more than 1 minute later than the time when you call this API operation.
This parameter is required.
example:2019-09-05 12:00:00
public BindAxnExtensionRequest.Builder extend(String extend)
public BindAxnExtensionRequest.Builder extension(String extension)
The extension of phone number X. The extension is 1 to 3 digits in length.
example:If you specify Extension, you must also specify PhoneNoX.
130
public BindAxnExtensionRequest.Builder isRecordingEnabled(Boolean isRecordingEnabled)
Specifies whether to record all calls made by the bound phone numbers. Valid values:
true
public BindAxnExtensionRequest.Builder outId(String outId)
The extension field for the external business. This parameter is returned in a call record receipt.
example:abcdef
public BindAxnExtensionRequest.Builder outOrderId(String outOrderId)
The ID of the external business.
example:abcdef
public BindAxnExtensionRequest.Builder ownerId(Long ownerId)
public BindAxnExtensionRequest.Builder phoneNoA(String phoneNoA)
Phone number A in the AXN extension binding. Phone number A can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
This parameter is required.
example:139****0000
public BindAxnExtensionRequest.Builder phoneNoB(String phoneNoB)
Phone number B in the AXN extension binding. When phone number A is used to call phone number X, the call is forwarded to phone number B. If you need to update phone number B, call the UpdateSubscription operation.
Phone number B can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
example:139****0000
public BindAxnExtensionRequest.Builder phoneNoX(String phoneNoX)
Phone number X in the AXN extension binding. If you do not specify this parameter, a random phone number is selected from the phone number pool based on the value of the ExpectCity parameter and is used as phone number X.
example:Phone number X is the phone number that you purchased in the Phone Number Protection console or by using the BuySecretNo operation before you bind a phone number. Phone number X is used to forward calls.
139****0000
public BindAxnExtensionRequest.Builder poolKey(String poolKey)
The key of the phone number pool. Log on to the Phone Number Protection console and view the key of the phone number pool on the Number Pool Management page.
example:FC123456
public BindAxnExtensionRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public BindAxnExtensionRequest.Builder resourceOwnerId(Long resourceOwnerId)
public BindAxnExtensionRequest.Builder ringConfig(String ringConfig)
Sets the ringtone for enterprise Color Ring Back Tone (CRBT) in the AXN extension binding.
Enterprise CRBT codes: Enterprise CRBT codes can be queried in the Phone Number Protection console. You can choose Number Pool Management > Enterprise CRBT Management to view and manage enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
example:The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
{"AXNRing_N":"100000001","AXNRing_A":"100000001"}
public BindAxnExtensionRequest build()
Copyright © 2025. All rights reserved.