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/mediaroutingdomain

Operations

Parameters

Search and sort values

The following table shows the parameters that are searched and the parameters that are sortable.

Search parameters Sort parameters
  • name
  • description
  • name (default)
  • description
  • interruptible
  • maxCallsInQueue
  • maxCallsInQueuePerCallType
  • maxTimeInQueue

See Search and Sort.

Advanced search parameters

You can perform a nonVoiceOnly search on the Media Routing Domain API:
  • 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>