(→Device) |
|||
Line 133: | Line 133: | ||
| number | | number | ||
| string | | string | ||
− | | The phone number configured for an agent | + | | The phone number configured for an agent – the physical DN. |
+ | '''Note''': This property is applicable only for voice data. | ||
|- | |- | ||
| dynamicPhoneNumber | | dynamicPhoneNumber | ||
| string | | string | ||
| The dynamic phone number configured for the agent for the session. | | The dynamic phone number configured for the agent for the session. | ||
+ | '''Note''': This property is applicable only for voice data. This property is applicable only when there is an alternate phone number and applicable for the current session only. | ||
|} | |} | ||
|} | |} |
Revision as of 14:57, November 2, 2017
Media Namespace
Methods
The Media namespace includes the following methods:
getMediaList
Signature | <static> getMediaList() → {Array.<media.Media>} |
---|---|
Description | Get the media attributes. |
Returns | Array.<media.Media> |
setState
Signature | <static> setState(name, stateOperationName) | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Description | Sets the media state. | |||||||||
Parameters |
|
Type Definitions
The Media namespace includes the following object types:
Media
Description | Represents the JSON structure of a media. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||
Properties |
|
State
Description | Represents the JSON structure of a media state. | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Type | Object | ||||||||||||
Properties |
|
* States that are limited to an event and can't be applied by code
Device
Description | Represents the JSON structure of a media. | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
Type | Object | |||||||||
Properties |
|
Comments or questions about this documentation? Contact us for support!