Skip to content

MOH file conversion to .g729/wb/alaw/ulaw

May 5, 2011

The steps to convert prompts in Linux-based Cisco Unified Communications Manager follow:

1. Log into Cisco Unified Communications Manger Administration.


2. Under Media Resources-> Music On Hold Audio Source, upload the .wav file and save it. This process generates the G.729 format.

3. Log in using the Secure Shell (SSH) Protocol with the Cisco Unified OS Administration username and password to access the command-line interface.

* To list the moh files:-
admin:file list activelog mohprep/*

1041.alaw.wav 1041.g729.wav
1041.ulaw.wav 1041.wb.wav
1041.xml 1061.alaw.wav
1061.g729.wav 1061.ulaw.wav
1061.wb.wav 1061.xml
CiscoMOHSourceReport.xml SampleAudioSource.alaw.wav
SampleAudioSource.g729.wav SampleAudioSource.ulaw.wav
SampleAudioSource.wb.wav SampleAudioSource.xml
dir count = 0, file count = 16

4. Execute the command file get activelog mohprep/.g729.wav and specify the Secure FTP (SFTP) server details to fetch this file.

N.B. I used freeFTPd for SFTP and putty for ssh terminal
and on the UCM ssh run the following command:-

admin:file get activelog mohprep/1061.g729.wav
Please wait while the system is gathering files info …done.
Sub-directories were not traversed.
Number of files affected: 1
Total size in Bytes: 3510
Total size in Kbytes: 3.4277344
Would you like to proceed [y/n]? y

SFTP server IP: (SFTP server ip on which freeFTPd running)
SFTP server port [22]:
User ID:mohuser (user created on freeFTPD – sftp)
Password: *****

Directory: /

Transfer completed.

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: