Monday, February 13, 2012

CUCM - MOH Conversion

In order for Cisco to be able to accept/upload a Music On Hold (MOH) file, the file must meet the specific property requirements below.

Format: WAV
Encoding: 8-bit CCITT u-Law or a-Law (stereo/mono)
Average Data Rate: 8 kbps
Sample Rates: 8 kHz, 16 kHz, 32 kHz, 48 kHz
Audio Sample Size: 16-bit PCM (stereo/mono) 
Channels: 1 (Mono) 

 *** CCITT uLaw, 8 kHz, 8-bit, 8 Kbps, mono ***

A good and free program to use for this is Audacity, a digital audio editor. Here's how to convert to Cisco's MOH specifications using Audacity 1.3.x.

  1. Launch Audacity 1.3.x
  2. Open the Audio File you are looking to use as an MOH file
  3. Locate the Project Rate (Hz) in the bottom left corner. Set this value to 8000.
  4. In the track bar, click the drop down menu and select "Split Stereo to Mono"
  5. In the track bar, select "Set Sample Format", and choose "16-bit PCM"
  6. Click File > Export...
  7. Set the file name as desired, and verify that the File Name has NO SPACES as they are not allowed
  8. Under "Save as type:" select "Other uncompressed files"
  9. Click on the "Options..." button
  10. Under Header select "WAV (Microsoft)"
  11. Under Encoding select "U-Law"
  12. Click OK and then click Save
You now have a file that is MOH worthy. Feel free to upload and test. Make sure that if you have multiple CUCM nodes/subscribers that you upload the file to each subscriber and configure accordingly.






.