Came across an MoH issue for a customer where the file was missing from Subscriber. As you may be aware that an MoH file should always be uploaded across the cluster on each server to work properly. If you only upload the MoH file on Publisher then it won’t be replicated on other servers. You can check that by going into those servers > Media Resources > Audio Source file.
So..to cut long story short, I went back to customer to give me that wave file which was uploaded on Pub so that I can upload it on Sub as well. Customer came back saying that they don’t have that file and I should do something to get the file from Publisher.
Using my CLI skills, I downloaded the MoH file from Call manager and then uploaded it on Sub. The file has different formats like.alaw ulaw g729 etc. Once you download it, you can change it back to .wav file. This is how I downloaded it.
CCMRoot@10.2.0.10’s password:
Last login: Fri Sep 24 12:45:46 2010 from 10.0.0.100
Welcome to the Platform Command Line Interface
Uptime : 13:27:13 up 175 days, 2:23, 1 user,
Load average : 0.15, 0.15, 0.16
Platform OS version : UCOS 3.0.0.0-57
HW model : 7825H3
admin:
admin:
admin:file list activelog mohprep/* [this will show you all files in MoH dir]
CiscoMOHSourceReport.xml SampleAudioSource.alaw.wav
SampleAudioSource.g729.wav SampleAudioSource.ulaw.wav
SampleAudioSource.wb.wav SampleAudioSource.xml
TheBoysFromLiverpool.alaw.wav TheBoysFromLiverpool.g729.wav
TheBoysFromLiverpool.ulaw.wav TheBoysFromLiverpool.wb.wav
TheBoysFromLiverpool.xml
dir count = 0, file count = 11
admin:
admin:
admin:file get activelog mohprep/TheBoysFromLiverpool.alaw.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: 1831882
Total size in Kbytes: 1788.9473
Would you like to proceed [y/n]? y
SFTP server IP: 10.0.0.100
SFTP server port [22]:
User ID: cisco
Password: *****
Download directory: \
The authenticity of host ‘10.0.0.100 (10.0.0.100)’ can’t be established.
RSA key fingerprint is 7b:cf:ae:e3:8d:00:09:f0:20:d1:25:8b:f2:b9:38:bc.
Are you sure you want to continue connecting (yes/no)? yes
.
Transfer completed.
admin:
Very useful post! Thank you.
I’m not sure why, but I’m receiving the following error message:
Invalid download directory specified.
I’ve tryed with backslash (\) and dot+backslash (.\)
Well, let’s google that 🙂
Thank you
The same case is with me as well…..