Live audio source via a feed

Cisco Public

MoH is an audio stream that is played to PSTN and VoIP G.711 callers who are placed on hold by phones in a Cisco CME system. This audio stream is intended to reassure callers that they are still connected to their calls. MoH is not played to local Cisco CME phones that are on hold with other Cisco CME phones. These parties hear a periodic repeating tone instead.

The audio stream that is used for MoH can derive from one of two sources: an audio file or a live feed. If both are configured concurrently on the Cisco CME router, the router seeks the live feed first. If the live feed is found, it displaces the audio file source. If the live feed is not found or fails at any time, the router falls back to the audio file source that was specified for MoH during configuration.

If the MoH audio stream is also identified as a multicast source, the Cisco CME router additionally transmits the stream on the physical IP interfaces of the Cisco CME router that you specify during configuration, which permits external devices to have access to it.

A MoH audio stream from an audio file is supplied from an .au or .wav file held in router Flash memory. A MoH audio stream from a live feed is supplied from a standard line-level audio connection that is directly connected to the router through an FXO or E&M analog voice port. The live-feed feature is typically used to connect to a CD jukebox player. Only one live MoH feed is supported per system.

Caution Use royalty-free music to avoid potential legal issues.

This graphic shows a file name "MyMohfile.wav" in flash of the Cisco CME router. The file is configured to be used for music on hold by entering the moh MyMoHfile.wav command in telephony service mode. It is currently configured to use the multicast address of 239.23.4.10 for transmission of the music on hold.

Music on Hold (Cont.)

Configuring MoH from file

router(config-telephony-service)#

moh filename

• Configures MoH using the file specified in flash

router(config-telephony-service)#

multicast moh ip-address port port-number [route ip-address-list]

• (Optional) Specifies that the MoH file should be multicast using the parameters specified

The moh filename command enables MoH from .au and .wav format music files. MoH is played for G.711 callers and on-net VoIP and PSTN callers who are on hold in a Cisco CME system. Local callers within a Cisco CME system hear a repeating tone while they are on hold Audio files that are used for MoH must be copied to the Cisco CME router Flash memory. A MoH file can be in .au or .wav file format; however, the file format must contain 8-bit 8-kHz data in a-law or mu-law data format.

To replace or modify the audio file that is currently specified, you must first disable the MoH capability using the no moh command. The following example replaces file1 with file2:

■ Router(config-telephony-service)# moh file1

■ Router(config-telephony-service)# no moh

■ Router(config-telephony-service)# moh file2

If a second file is specified without first removing the original file, the MoH mechanism stops working and may require a router reboot to clear the problem.

Note IP phones do not support multicast at 224.x.x.x addresses.

Command

Example: Router(config-telephony-service)#moh MyMoHfile.wav

Generates an audio stream from a file for music on hold (MoH) in a Cisco CME system.

multicast moh ip address port port-number [route ip-address-list]

Example: Router(config-telephony-service)#moh 239.2.2.2 port 2000 route 10.0.0.1 11.0.0.1

Configures MoH audio stream as a multicast source in a Cisco CME system.

ip-address Specifies the destination IP address for multicast.

port port-number Specifies the media port for multicast. Range is from 2000 to 65535. Port 2000 is recommended because this port is already used for normal Real-Time Transport Protocol (RTp) media transmissions between IP phones and the Cisco CME router.

route ip-address-list (Optional) Indicates specific router interfaces over which to transmit the IP multicast packets. Up to four IP addresses can be listed, each separated from the other by a space. The default is that the MoH multicast stream is automatically output on the interfaces that correspond to the address that was configured with the ip source-address command.

Configuring MoH from a live source

Phone on Hold

E&M port -4-wire, immediate start, auto-cut through

unicast or multicast

voice-port 1/1/1 auto-cut-through operation 4-wire signal immediate dial-peer 7777 voice pots destination-pattern 7777 port 1/1/1 ephone-dn 12 number 9999 moh out-call 7777

unicast or multicast

© 2005 Cisco Systems, Inc. All rights re

Cisco Public

To configure MoH from a live feed, you establish a voice port and dial peer for the call and also create a "dummy" ephone-dn. 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 Voice interface card (VIC) 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 digital signal processor (DSP) on the E&M port generates a G.711 audio packet stream.

If you are using an 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 a 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 will automatically activate. A live-feed MoH connection is established as an automatically connected voice call that is made by the Cisco CME MoH system itself or by an external source directly calling in to the live-feed MoH port.

P I elephony

Configuring MoH from a live source

CMERouter(config)# voice-port port

0 0

Post a comment