Cisco Unified Communications Manager 8:Expert Administration Cookbook
上QQ阅读APP看书,第一时间看更新

Implementing unicast Music On Hold

Music On Hold can be of two types, unicast or multicast. Unicast Music On Hold offers a quick and easy way to get Music On Hold up and running quickly, but at a cost of bandwidth.

Getting ready

This recipe assumes all the necessary media resource groups and media resource group lists have been created.

How to do it...

To configure unicast Music On Hold, perform the following:

  1. First, find the system created Music On Hold device and verify that it is registered. (Media Resources | Music On Hold Server).

    Note

    If the Music On Hold server doesn't show as registered, then the Cisco IP Voice Media Streaming App has not been enabled.

  2. Next, configure the appropriate Device Pool for the Music On Hold Server.
  3. If necessary, specify a Location.
  4. If required, change the Maximum Half Duplex Streams and Maximum Multi-Cast Connections:
    How to do it...
  5. Click on Save.
  6. Next, add the Music On Hold server to the appropriate media resource groups (Media Resources | Media Resource Group).
    How to do it...
  7. With the media resource group list applied, we are nearly ready to test.
  8. On our devices we must set the following fields:
    • Media Resource Group List
    • User Hold MOH Audio Source
    • Network Hold MOH Audio Source

    Note

    The least obvious of these fields are the two audio sources. If we do not specify these, no audio will be heard when a caller is placed on hold. Instead they may hear beeps depending on how the system parameters are configured.

  9. Click on Save.
  10. Next, click on Apply Config.
  11. On the pop up window, click on OK.

    Note

    After the device downloads its new configuration file, we can test placing a call on hold and the generic hold music will be heard.

How it works...

In this particular example we use the built-in features of the Unified Communications Manager to serve unicast Music On Hold to end points. While unicast MOH is simple and quick to configure, it does come at a bandwidth and processing cost, as each device on hold that is hearing music will require a separate voice stream for data.

Because each device on hold has its own stream for Music On Hold, the Music On Hold service may run out of available resources to handle new requests for Music On Hold. In this situation, where the Music On Hold server becomes fully utilized, multicast Music On Hold may prove to be a better solution to serve a large number of clients.

If multicast Music On Hold is not an option, due to hardware or network requirements, adding an additional dedicated Music On Hold server to the media resource groups and lists can provide better coverage and high availability of Music On Hold resources.

In this recipe we mentioned two types of Music On Hold audio sources:

  • User Hold MOH Audio Source: The User Hold MOH Audio Source is used when another IP phone places the call on hold using the Hold softkey.
  • Network Hold MOH Audio Source: The Network Hold MOH Audio Source is used when a call is placed on hold as a result of:
    • Call transfer
    • Call park
    • Conference setup

There's more...

In some cases it may be necessary to utilize both unicast and multicast Music On Hold. This may be due to devices that do not support multicast Music On Hold, such as wireless Cisco IP Phones.

Unicast and multicast in the same cluster

To support a configuration that requires both unicast and multicast Music On Hold, we have two options, that are explained next.

Separate Music On Hold servers

If multiple servers are available for Music On Hold, we can configure one for unicast and one for multicast (Media Resources | Music On Hold Server).

Single Music On Hold server

If only a single Music On Hold server is available and both unicast and multicast Music On Hold are required, simply add the Music On Hold resource to two media resource groups, one with Use Multi-cast for MOH Audio checked and another without.

Regardless of which model we choose, at least two media resource groups will be required: one for unicast and one for multicast Music On Hold. After the appropriate media resource groups and list have been configured, they must be configured to the appropriate devices. Depending on how the environment is built, it may be easier to apply MRGL settings to Device Pools, or in bulk using the Bulk Administration Tool.

Codec selection

Codec selection can be configured in the IP Voice Streaming Media App service parameter (System | Service Parameters).

Under the Clusterwide Parameters section, select the desired codecs from the Supported MOH Codecs list; by default only 711 mu-law is selected. Multiple codecs may be selected for Music On Hold; however, region settings will determine the actual codec to be used:

Codec selection