cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

How to Download Music/Moh files from Cisco Unified Communication Manager

3173
Views
5
Helpful
0
Comments

You would need the following Two softwares

>>>>TFTP/SFTP server (eg, freeFTPd  http://www.freesshd.com/?ctt=download )

>>>>Putty client

 

 Login to the Call Manager Server CLI using putty SSH

 

List the available files on the server as below.

 

admin:file list activelog /mohprep/*

CiscoMOHSourceReport.xml                JaaneKyun.alaw.wav

JaaneKyun.g729.wav                      JaaneKyun.ulaw.wav

JaaneKyun.wb.wav                        JaaneKyun.xml

SampleAudioSource.alaw.wav              SampleAudioSource.g729.wav

SampleAudioSource.ulaw.wav              SampleAudioSource.wb.wav

SampleAudioSource.xml                   tdominic.alaw.wav

tdominic.g729.wav                       tdominic.ulaw.wav

tdominic.wb.wav                         tdominic.xml

dir count = 0, file count = 16

 

 

Download the deisred music file as below

 

admin:file get activelog mohprep/SampleAudioSource.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: 2702728

Total size in Kbytes: 2639.3828

Would you like to proceed [y/n]? y

SFTP server IP: 192.168.254.35

SFTP server port [22]:

User ID: cisco

Password: *****

 

Download directory: /

.......................................................................................

.......................................................................................

.............................................................................

Transfer completed.

 

 

File is downloaded to the SFTP server you configured.

 

Other Important outputs related to MoH

 

 

admin:show perf query class "Cisco MOH Device"

==>query class :

 

 - Perf class (Cisco MOH Device) has instances and values:

    MOH_2           -> MOHHighestActiveResources      = 0

    MOH_2           -> MOHMulticastResourceActive     = 0

    MOH_2           -> MOHMulticastResourceAvailable  = 250000

    MOH_2           -> MOHOutOfResources              = 0

    MOH_2           -> MOHTotalMulticastResources     = 250000

    MOH_2           -> MOHTotalUnicastResources       = 250

    MOH_2           -> MOHUnicastResourceActive       = 0

    MOH_2           -> MOHUnicastResourceAvailable    = 250

 

 

admin:run sql select D.name, M.mohaudiosourceid, M.multicastaddress, M.multicastport, C.name codec from mohservermulticastinfo as M, device AS D, OUTER typemohcodec as C WHERE M.fkdevice = D.pkid AND M.tkmohcodec = C.enum

name  mohaudiosourceid multicastaddress multicastport codec

===== ================ ================ ============= ========

MOH_4 1                239.1.1.1        16384         711 ulaw

MOH_4 1                239.1.1.2        16384         711 alaw

MOH_4 1                239.1.1.3        16384         729

MOH_4 1                239.1.1.4        16384         wideband

MOH_4 24               239.1.1.5        16384         711 ulaw

MOH_4 24               239.1.1.6        16384         711 alaw

MOH_4 24               239.1.1.7        16384         729

MOH_4 24               239.1.1.8        16384         wideband

MOH_4 51               239.1.1.9        16384         711 ulaw

MOH_4 51               239.1.1.10       16384         711 alaw

MOH_4 51               239.1.1.11       16384         729

MOH_4 51               239.1.1.12       16384         wideband

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here