cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27340
Views
15
Helpful
11
Replies

MoH file download

fgasimzade
Level 4
Level 4

I am trying to download music on hold file from CUCM using sFTP. The thing is that I can not connect to the server using FileZilla or any other software. Is there any additional configuration I must perform on the CUCM to accept sFTP connections?

1 Accepted Solution

Accepted Solutions
11 Replies 11

fgasimzade
Level 4
Level 4

I tried a dump sFTP server, where I specify only port number to listen to, username, password and Root path.

Then I go to CUCM server and execute

file get activelog mohprep/SampleAudioSource.ulaw.wav,

specify sFTP IP address, port number, username and password, directory to download to and the only thing I get is "Invalid download directory specified." message from CUCM. On the sFTP server in the root directory I can only see a folder named mohrep but nothing in it..

Where is the problem?

Hi There,

Here is a guide that will assist you.

http://pushkarbhatkoti.wordpress.com/2009/01/08/how-to-download-music-on-hold-moh-file-from-ccm5x-6x-7x-server/

HTH, Please rate and solve if so

Regards,

Justin

I have used it already, thank you

i use CUCM7. The moh files also could be found in the backup .tar files.

I used this method successfully today on CUCM version 8.6... thanks!

got same error on CUCM 8.6.2.22900-9 using software Core FTP mini-sftp-server, on a Microsoft Windows [Version 5.2.3790]

 

admin:file get activelog /mohprep/Mozart-Piano-Concerto-9.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: 15063910
Total size in Kbytes: 14710.85
Would you like to proceed [y/n]? y
SFTP server IP: 10.201.1.226
SFTP server port [22]:
User ID: cisco
Password: *****

Download directory: /

Invalid download directory specified.

------------------------------

A folder (D:\10.17.134.21\2014-11-07_03-29-30\mohprep) is created on / (D:\) but no file is transferred

-----------------------------

It works great with freeSSHd

CHRIS HABBERJAM
Level 1
Level 1

Justin,

I get the error "Invalid download directory specified" as per below:

admin:file get activelog mohprep/MAIN_GREETING_NEW2.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: 14060
Total size in Kbytes: 13.730469
Would you like to proceed [y/n]? y
SFTP server IP: 10.1.33.105
SFTP server port [22]:
User ID: axonex
Password: ******
Download directory: /sftp/moh/

Invalid download directory specified.
admin:

Yet I see an entry created in the moh folder - an IP address folder, with a date/time sub-folder and an mohprep sub-folder in that ... but no moh file !

Any ideas, is this a rights issue on my laptop or a missing step?

THanks

Chris

 

 

 

 

I just was able to do this using freeFTPd using the following steps found on the link:

 

http://bhatkoti.com/2009/01/08/how-to-download-music-on-hold-moh-file-from-ccm5x-6x-7x-server/

Here is my result:

 

admin:file get activelog mohprep/*
Please wait while the system is gathering files info ...done.
Sub-directories were not traversed.
Number of files affected: 36
Total size in Bytes: 73648377
Total size in Kbytes: 71922.24
Would you like to proceed [y/n]? y
SFTP server IP: 172.25.20.190
SFTP server port [22]: 
User ID: test
Password: ****

Download directory: \

....................................
Transfer completed.
admin:

 

The difference here is I used a backslash rather than what everyone is doing above using a forward slash which is causing it to reject the directory.

 

I downloaded the entire MOH directory since I needed all the files in this case.

Thanks this is really helpful

Hi All,

I was about to perform these MoH steps in order to download the file i need (editing purposes), however this file is currently being used in a live environment.  Does this just copy the file or does it actually transfer the file from CUCM?  I definitely do not want to impact business, can anyone confirm/advise?

Any feedback will be greatly appreciated!  

Thank you,

Diana 

nettuno8_20111
Level 1
Level 1

hi i'm sorrentino ciro i don't know how to download the MOH file for cme 7.1 can you help me