(→State) |
|||
Line 5: | Line 5: | ||
* [[MediaNamespace#getMediaList|getMediaList]] | * [[MediaNamespace#getMediaList|getMediaList]] | ||
* [[MediaNamespace#setState|setState]] | * [[MediaNamespace#setState|setState]] | ||
+ | |||
===getMediaList=== | ===getMediaList=== | ||
Line 47: | Line 48: | ||
* [[MediaNamespace#Media|Media]] | * [[MediaNamespace#Media|Media]] | ||
* [[MediaNamespace#State|State]] | * [[MediaNamespace#State|State]] | ||
+ | * [[MediaNamespace#Device|Device]] | ||
===Media=== | ===Media=== | ||
Line 113: | Line 115: | ||
|} | |} | ||
''* States that are limited to an event and can't be applied by code'' | ''* 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 | ||
+ | | | ||
+ | {| | ||
+ | ! Name | ||
+ | ! Type | ||
+ | ! Description | ||
+ | |- | ||
+ | | number | ||
+ | | string | ||
+ | | The phone number configured for an agent - the physical DN. | ||
+ | |- | ||
+ | | dynamicPhoneNumber | ||
+ | | string | ||
+ | | The dynamic phone number configured for the agent for the session. | ||
+ | |} | ||
+ | |} | ||
[[Category:V:HTCC:8.5.2DRAFT]] | [[Category:V:HTCC:8.5.2DRAFT]] |
Revision as of 12:29, 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!