Media Routing Domain API
A media routing domain is a collection of skill groups associated with a common media class. It is used to organize how requests for different media are routed.
Use the Media Routing Domain (MRD) API to list the MRDs currently defined in the database.
URL
https://<server>/unifiedconfig/config/mediaroutingdomainOperations
Parameters
-
refURL: The refURL of the media routing domain. See Shared Parameters.
-
name: Name of the media routing domain. See Shared Parameters.
-
description: See Shared Parameters.
-
mediaClass: Includes the following parameters:
-
name: The name of the media class.
-
id: The ID of the media class.
-
-
serviceLevelThreshold: The amount of time, in seconds, within which calls must be answered.
-
interruptible: Indicates if an agent can be interrupted by assigned tasks from another MRD. Values are true/false.
-
maxCallsInQueue: The maximum number of calls allowed to be queued at one time.
-
maxCallsInQueuePerCallType: The maximum number of calls allowed to be queued, per call type.
-
maxTimeInQueue: The maximum amount of time, in seconds, a call can be queued.
Search and Sort Values
The following table shows the parameters that are searched and the parameters that are sortable.
Search parameters | Sort parameters |
---|---|
|
|
Advanced search parameters
- nonVoiceOnly: Set this attribute to true in the search query parameter to make the API return only media routing domains other than the Cisco_Voice media routing domain. For example, q=nonVoiceOnly:true.
Example Get Response
<mediaRoutingDomains>
<mediaRoutingDomain>
<changeStamp>0</changeStamp>
<refURL>/unifiedconfig/config/mediaroutingdomain/5001</refURL>
<description>System-provided media routing domain for Cisco_Chat</description>
<interruptible>false</interruptible>
<maxCallsInQueue>1000</maxCallsInQueue>
<maxCallsInQueuePerCallType>1000</maxCallsInQueuePerCallType>
<maxTimeInQueue>1000</maxTimeInQueue>
<mediaClass>
<name>Cisco_Chat</name>
<id>6</id>
</mediaClass>
<name>Cisco_Chat</name>
<serviceLevelThreshold>30</serviceLevelThreshold>
</mediaRoutingDomain>
<mediaRoutingDomain>
<changeStamp>0</changeStamp>
<refURL>/unifiedconfig/config/mediaroutingdomain/1</refURL>
<description>Default Media Routing Domain for Cisco_Voice</description>
<interruptible>false</interruptible>
<mediaClass>
<name>Cisco_Voice</name>
<id>4</id>
</mediaClass>
<name>Cisco_Voice</name>
<serviceLevelThreshold>30</serviceLevelThreshold>
</mediaRoutingDomain>
</mediaRoutingDomains>