administrator or the administrator who had the file earlier has left the company and the only way to
get the same MoH file, is through the Call Manager. In such scenarios, this specified method to
download the MoH file comes very handy.
Procedure
- Establish a Secure Shell (SSH) connection to the Call Manager, where the MoH file is
uploaded.
- Check the list of all MoH files available on the server with this command:
file list activelog /mohprep
admin:file list activelog /mohprep
CiscoMOHSourceReport.xml SampleAudioSource.alaw.wav
SampleAudioSource.g729.wav SampleAudioSource.ulaw.wav
SampleAudioSource.wb.wav SampleAudioSource.xml
SilenceAudioSource.alaw.wav SilenceAudioSource.g729.wav
SilenceAudioSource.ulaw.wav SilenceAudioSource.wb.wav
SilenceAudioSource.xml ToneOnHold.alaw.wav
ToneOnHold.g729.wav ToneOnHold.ulaw.wav
ToneOnHold.wb.wav ToneOnHold.xml
dir count = 0, file count = 16
- Download the required file with this command:
file get activelog /mohprep/<name of the MoH file>
To download all MoH files, you can use this command:
file get activelog /mohprep/*.wav
To download all MoH files of a specific codec, use:
file get activelog /mohprep/*.<codecname>.wav
admin:file get activelog /mohprep/SampleAudioSource.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: 332600
Total size in Kbytes: 324.8047
Type Y to proceed.
file get activelog /mohprep/*.<codecname>.wav
admin:file get activelog /mohprep/SampleAudioSource.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: 332600
Total size in Kbytes: 324.8047
Once the transfer of the MoH is successful, you should be able to find the MoH file in the root
directory of your SFTP server.
If you come across error messages like these, it is possible that it is an issue with the SFTP server
or connectivity to the SFTP server. In this case, you must verify your SFTP server’s settings
and/or Connectivity to the same .
file get activelog /mohprep/*.<codecname>.wav