Download Moh File From Cucm 11.5
Upload MoH Files on CUCM Servers in a cluster in parallel with Selenium
#Why?The way CUCM handles MoH [Music on Hold] is elegant. But that leaves us withuploading the same file on every server in the cluster using the web GUI.I have not come across any other way to upload MoH files on the clusterwithout using the web GUI. If there are anything less than 3 servers in thecluster and one or two files to update, that's not frustrating. But anythingbeyond that can be quite tedious and waste of time when you are supposed towork on issues which require your attention.This script allows you to upload MoH files on all the Servers[MoH] in thecluster parallely. With automatic login on all the servers, there is nointervention required once the script is run. I work with multiple clustersand where I work I need to upload new MoH files on a regular basis fordifferent offices using the same cluster. And this script saves a lot oftime for me. Until there is a new way of doing it, this is my way of doing it.
#Setup?Before starting to use this script, ensure you have all the dependenciesinstalled.
Insert a boot info file (see instruction below how to get it) into a CUCM ISO image. Make sure you download CUCM non-bootable disks and join both downloaded files (copy -b or cat command on Linux). Then use a free software called UltraISO and insert the boot it into the CUCM non-boot disk and burn it as a regular way! You’ll only need. Sep 23, 2015 Download MoH Files from CUCM. To download Music on Hold WAV files from CUCM follow the below CLI commands. This will download all MoH WAV files on the CUCM to your SFTP Server. Once downloaded, you are able use the ‘ulaw’ wav file to upload to a different CUCM. Oct 27, 2017 Symptom: The translated file in CUCM have the distorted/static audio after uploading 44.1 Khz or 48 Khz wav files. No issue for 32 kHz, 16 kHz, or 8 kHz files. Conditions: NA.
Chrome Web Driver: Latest (Tested on v2.34)Python Version: 3.4 and aboveAdditional Packages required:- selenium (Tested on v3.4.3)- PyYAML (Tested on v3.12)Use the 'template.yaml' file to save the settings related to your cluster. Youcan create multiple yaml files to store settings of multiple clusters if youhave. Supplied 'template.yaml' has comments for all the settings required.
Download Cucm 11.5
#Run?Supply the yaml file as an argument to the script.
You'll see multiple chrome windows opened up. Once for each server in yourcluster. They'll be closed once the uploading (and deleting if selected) iscompleted on all servers. From where I connect, the average delay is 25msfor all the servers in the cluster and it takes about 80 secs for a 3 MB fileto upload on all servers. Mileage can vary based on the average delay andBandWidth between your PC and the servers.
Cisco Moh Files
NOTE: This script is CPU intensive as it opens up multiple chrome windows inparallel threads. Make sure your PC is not very busy with other tasks. I workwith mutiple clusters on a daily basis. One cluster is a Mega Cluster with11 servers in it. My PC [with Intel Core i5 and 8GB RAM] handles iteffortlessly.