06-17-2009 08:43 AM - edited 03-13-2019 06:26 PM
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?
Solved! Go to Solution.
06-18-2009 12:29 AM
Hi There,
Here is a guide that will assist you.
HTH, Please rate and solve if so
Regards,
Justin
06-17-2009 08:54 AM
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?
06-18-2009 12:29 AM
Hi There,
Here is a guide that will assist you.
HTH, Please rate and solve if so
Regards,
Justin
06-18-2009 01:18 AM
I have used it already, thank you
08-16-2011 07:44 PM
i use CUCM7. The moh files also could be found in the backup .tar files.
12-18-2012 06:42 AM
I used this method successfully today on CUCM version 8.6... thanks!
09-22-2015 06:00 AM
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
10-08-2014 09:38 AM
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
08-03-2015 01:59 PM
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.
09-10-2015 12:12 AM
Thanks this is really helpful
03-09-2016 09:20 AM
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
04-17-2020 04:50 AM
hi i'm sorrentino ciro i don't know how to download the MOH file for cme 7.1 can you help me
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide