AgentConfigResult

Represents the result when getting rep phone configuration information.

Constructor 

new AgentConfigResult(param)

Functions Where Used 

Objects Referenced 

Parameters 

FieldTypeDescription
paramobjectThe agent (rep) config result.
param.phonesArrayOptional. Supported phone types. Phone type value can be “SOFT_PHONE” or “DESK_PHONE”.
param.selectedPhonePhoneSelected phone object, which includes the type and number.

Example 

1new AgentConfigResult({
2    phones: ["SOFT_PHONE", "DESK_PHONE"],
3    selectedPhone: new Phone("DESK_PHONE", “5554443333)
4})

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!