cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5300
Views
10
Helpful
0
Comments
TCC_2
Level 10
Level 10

Resolution

Configure Music on Hold (MoH) from a Live Feed

Establish a voice port and dial peer for the call and create a dummy ephone-dn to configure MoH from a live feed. The ephone-dn must have a phone or extension number assigned to it so that it can make and receive calls, but the number is never assigned to a physical phone.

The recommended interface for live feed MoH is an analog E&M port because it requires the minimum number of external components. You connect a line-level audio feed (standard audio jack) directly to pins 3 and 6 of an E&M RJ-45 connector. The E&M WAN interface card (WIC) has a built-in audio transformer that provides appropriate electrical isolation for the external audio source. (An audio connection on an E&M port does not require loop-current.) The signal immediate and auto-cut-through commands disable E&M signaling on this voice port. A G.711 audio packet stream is generated by a digital signal processor (DSP) on the E&M port.

If you use a Foreign Exchange Office (FXO) voice port for live feed MoH instead of an E&M port, connect the MoH source to the FXO voice port. This connection requires an external adapter to supply normal telephone company (Telco) battery voltage with the correct polarity to the tip and ring leads of the FXO port. The adapter must also provide transformer-based isolation between the external audio source and the tip and ring leads of the FXO port.

Music from a live feed is continuously fed into the MoH playout buffer instead of being read from a Flash file, so there is typically a 2-second delay. An outbound call to an MoH live feed source is attempted (or reattempted) every 30 seconds until the connection is made by the directory number that has been configured for MoH. If the live feed source is shut down for any reason, the Flash memory source automatically activates.

A live feed MoH connection is established as an automatically connected voice call that is made by the Cisco CallManager Express MoH system itself or by an external source that directly calls into the live feed MoH port. An MoH call can be from or to the PSTN or can proceed via VoIP with voice activity detection (VAD) disabled. The call is assumed to be an incoming call unless the optional out-call keyword is used with the moh command during configuration.

The Cisco CallManager Express router uses the audio stream from the call as the source for the MoH stream, displacing any audio stream that is available from a Flash file. An example of an MoH stream received over an incoming call is an external H.323-based server device that calls the ephone-dn to deliver an audio stream to the Cisco CallManager Express router.

Refer to the Configuring Music on Hold from a Live Feed section of Configuring MOH for information on restrictions and a detailed procedure that outlines how to configure MoH from a live feed.

Configure MoH from an Audio File

If MoH from an audio file and MoH from a live feed are both configured on the Cisco CallManager Express router, the router seeks the live feed first. If a live feed is found, it displaces an audio file source. If the live feed is not found or fails at any time, the router falls back to the audio file source.

Remove the first file using the no moh command before you specify a second file in order to change the audio file to a different file. This output shows an example:

Router(config-telephony-service)#no moh file1
Router(config-telephony-service)#moh file2

Note: You can optionally specify that this audio stream should be multicast on router interfaces. If you configure a second file without removing the first file, the MoH mechanism stops working and may require a router reboot to clear the problem.

Refer to the Configuring Music on Hold from an Audio File section of  Configuring MOH for more information and the procedure to configure MoH from an audio file.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: