cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3851
Views
0
Helpful
9
Replies

MOH on router

Peter Valdes
Level 3
Level 3

Hi,

We are currently running a HUB and SPOKE IP Telephony model for the 1st time.

CUCM 7.1.5 pub, sub and CUC located at Site A. Site B has a 2Mb dedicated link to Site A for voice traffic only such as phone registration and VOIP. No other traffic apart from telephony traverse through this link. Each site has its own Voice Gateway and we use H323 and ISDN E1. Phones on Site B gets its IP Address from the local router using option 150 (Site A CUCM IP).

Phones on Site B have been experiencing bad static MOH and I was wondering if theres a guide to load the MOH on the local router instead of CUCM on the remote Site A?

What format does the MOH file have to be on for this to work?

Are there any other solution apart from changing the region on the Site B device pool to G711 to fix MOH?

Thanks

9 Replies 9

ronpatel
Level 8
Level 8

HI

You can use router as MOH source and this will reduce WAN BW utilisation.  Below link shows you the exact confi in details.

http://www.cisco.com/en/US/products/sw/iosswrel/ps5207/products_feature_guide09186a00802d1c31.html

regards

Ronak Patel

Rate helpful posts.

Regards Ronak Patel Rate all helpful post by clicking stars below the answer.

Thanks.

Ill read up on it now and test on my network. Ill let you know of outcome.

HI

If it helps please rate helpful posts by clicking stars below the answer.

Regards

Ronak Patel

Regards Ronak Patel Rate all helpful post by clicking stars below the answer.

Hi,

I have made the changes and applied the settings on both CUCM and SITE B router (also running SRST CME).

CUCM is also configure with multicast MOH using port number increment multicast.

Added MOH Server to MRG

Added MRG to MRGL

Applied MRGL to both phones on Site B aswell as the Site B router.

SRST works perfect.

Heres my config on the Site B router:

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

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

tftp-server flash:MOH.ULAW.alaw.ULAW.wav

!

ccm-manager fallback-mgcp

ccm-manager music-on-hold

!

telephony-service

srst mode auto-provision none

srst dn template 1

srst dn line-mode dual

max-ephones 265

max-dn 600

ip source-address 10.190.0.1 port 2000

no caller-id name-only

system message "SRST Mode: WAN DOWN"

cnf-file location flash:

load 7942 SCCP42.9-2-1SR2S.loads

time-zone 47

time-format 24

date-format dd-mm-yy

dialplan-pattern 1 6565001999 extension-length 12 extension-pattern 96666002222#

voicemail 96666002222#

max-conferences 8 gain -6

call-forward system redirecting-expanded

moh "flash:/MOH.ULAW.alaw.ULAW.wav"

multicast moh 239.1.1.1 port 16384 route 10.190.0.1

transfer-system full-consult

secondary-dialtone 0

!

ephone-dn-template  1

call-forward busy 96666002222#

call-forward noan 96666002222# timeout 5

!

ephone-dn  7  octo-line

number 88101

preference 8

call-forward busy 96666002222

call-forward noan 96666002222 timeout 10

!

ephone-dn  500  octo-line

number 8888 secondary 6565001...

name V

call-forward all 88101

!

ephone  8

device-security-mode none

mac-address 0022.9003.E713

button  1:7

OC-MHO-GW#sh flash

-#- --length-- -----date/time------ path

1      4678202 Jun 26 2012 14:06:38 +10:00 apps42.9-2-1ES4.sbn

2         2903 Jan 17 2012 03:27:14 +11:00 cpconfig-39xx.cfg

3      3000320 Jan 17 2012 03:27:28 +11:00 cpexpress.tar

4         1038 Jan 17 2012 03:27:38 +11:00 home.shtml

5       122880 Jan 17 2012 03:27:48 +11:00 home.tar

6      1697952 Jan 17 2012 03:28:04 +11:00 securedesktop-ios-3.1.1.45-k9.pkg

7       415956 Jan 17 2012 03:28:14 +11:00 sslclient-win-1.1.4.176.pkg

8     78470692 Jun 26 2012 11:48:52 +10:00 c3900-universalk9-mz.SPA.152-3.T.bin

9         1237 Apr 19 2012 19:10:10 +10:00 FOC1551120N_20120419014514500.lic

10           0 Jun 26 2012 12:43:12 +10:00 its

11           0 Jun 26 2012 12:43:12 +10:00 its/vrf1

12          58 Aug 3 2012 12:11:48 +10:00 its/SEPDEFAULT.cnf

13      575464 Jun 26 2012 14:06:54 +10:00 cnu42.9-2-1ES4.sbn

14     2209742 Jun 26 2012 14:07:02 +10:00 cvm42sccp.9-2-1ES4.sbn

15      361359 Jun 26 2012 14:07:10 +10:00 dsp42.9-2-1ES4.sbn

16     1759963 Jun 26 2012 14:07:18 +10:00 jar42sccp.9-2-1ES4.sbn

17         662 Jun 26 2012 14:07:24 +10:00 SCCP42.9-2-1SR2S.loads

18         662 Jun 26 2012 14:07:34 +10:00 term42.default.loads

19         662 Jun 26 2012 14:07:40 +10:00 term62.default.loads

20     6747402 Aug 3 2012 10:53:52 +10:00 MOH.wav

21     6747402 Aug 3 2012 11:03:46 +10:00 MOH.ULAW.alaw.ULAW.wav

149659648 bytes available (106848256 bytes used)

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

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

During  normal mode (Phones register to central CUCM) when internal calls  between two phones are place on hold, its blank. During SRST mode, same  type of calls, I hear beeps.

Any idea?

Hi

Firstly when in normal mode:

If you hear silence, that means that CUCM has told the phone to listen to mcast MoH. You should be able to browse to the phone and look at the 'streams' to see what mcast address the phone is listening to.

The key thing is to ensure you have configured MoH on CUCM so that the correct audio stream and server are assigned to the phone - each stream has a different mcast address or port number, so if a different one is assigned the phone will be told to listen to 239.1.1.2 or 239.1.1.1 with a different port. The same applies for different codecs, e.g. g729 region will get a different address/port than the same audio source in a g711 region.

Regards

Aaron

Aaron Please remember to rate helpful posts to identify useful responses, and mark 'Answered' if appropriate!

Hi,

During on HOLD, codec is G711 but there is no tx rx between the two phones within the region.

Ive also check the phone webpage on streaming statistics and during on MOH, stream status is Active (phone that was place on hold) but nothing on multicast IP or Port.

Thanks

Hi again,

I have followed a few guides in Cisco and Google. Most require a loopback interface.

Also when I issue the command, this is what I get

OC-MHO-GW#show ccm-manager music-on-hold 

Current active multicast sessions : 0

OC-MHO-GW#show voice moh-group

telephony-service

internal-call moh-group (not configured)

moh flash0:/MOH.ULAW.alaw.ULAW.wav

moh-file-buffer 2000 (Kb)

Moh multicast 239.1.1.1 port 16384 route 10.70.255.82 10.190.0.1 10.190.1.1

voice moh-group 1

description (not configured)

moh flash0:/MOH.ULAW.alaw.ULAW.wav

multicast moh (not configured)

extension-range (none configured)

=== Total of 1 voice moh-group ===

OC-MHO-GW#sh ephone moh

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

Skinny Music On Hold Status - group 0

Active MOH clients 0 (max 1300), Media Clients 0, B-ACD Clients 0

File flash0:MOH.ULAW.alaw.ULAW.wav (not cached) type WAVE Media_Payload_G711Ulaw64k 160 bytes

Moh multicast 239.1.1.1 port 16384 route 10.70.255.82 10.190.0.1 10.190.1.1

File play position 263266 file type 2 current type 2

Play offset 800, Write offset 16000,File start 46 end 6747402

File buffer at 12A8E9F8, buffer size 64000

RTP ssrc 2D3BDB55 timestamp_offset DC0 position AC6A reposition 0

Max process service interval 511983 (last 43134)

Min interval 20000, missed 431983 run 0 (us)

moh_process_service counter 245508

Max Media process interval 547781 (last 511131) run 0 (us)

File system max access time 5627 (us) (last 2960) with late-reads 0

0 clients interrupt service, 0 process level

0 no-conversion, 0 a-to-mu, 0 mu-to-a

0 packets serviced at interrupt, 0 at process

-

Media Client Tx: 0     Xcode Tx: 0

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

Skinny Music On Hold Status - group 1

Active MOH clients 0 (max 1300), Media Clients 0

No MOH file loaded

File play position 0 file type 0 current type 0

Play offset 0, Write offset 0,File start 0 end 2147483647

File buffer at 0, buffer size 0

RTP ssrc 0 timestamp_offset 0 position 0 reposition 0

Max process service interval 0 (last 0)

Min interval -1, missed 0 run 0 (us)

moh_process_service counter 0

Max Media process interval 0 (last 0) run 0 (us)

File system max access time 0 (us) (last 0) with late-reads 0

0 clients interrupt service, 0 process level

0 no-conversion, 0 a-to-mu, 0 mu-to-a

0 packets serviced at interrupt, 0 at process

-

Media Client Tx: 0     Xcode Tx: 0

Hi,

I got the following debug output. Any idea? Local to local phones dont work when phones are registered to remote CUCM. I have also check the wav files, I have encoded to CCITT ulaw 8,000kHz, 8 Bit.

005139: Aug  7 04:40:49.936: SkinnySetMohFilename set type to MOH_TYPE_INVALID for moh-group 0

005140: Aug  7 04:40:49.936: SkinnyStopMoh with no active clients in moh-group 0

005141: Aug  7 04:40:50.268: SkinnyStartMoh: moh-group 0

005142: Aug  7 04:40:50.268: skinny_open_moh_play for NULL file (live feed)

005143: Aug  7 04:40:50.268: skinny_open_moh_play set type to MOH_TYPE_LIVE

005144: Aug  7 04:40:50.268: MOH buffer allocated at 1BBCF7FC

005145: Aug  7 04:40:50.268: skinny_open_moh_play read header OK

005146: Aug  7 04:40:50.268: Starting read server with play-offset 0 write-offset 0

005147: Aug  7 04:40:50.288: skinny_get_moh_from_codec no file, no moh_live_feed

005148: Aug  7 04:40:50.464: SkinnyStartMoh: moh-group 0

005149: Aug  7 04:40:50.464: flash0:/MOH_ulaw.wav: MOH WAVE file

005150: Aug  7 04:40:50.464: skinny_open_moh_play set type to 2

005151: Aug  7 04:40:50.468:  5249 4646 02F5 6600 5741 5645 666D 7420

005152: Aug  7 04:40:50.468:  1200 0000 0700 0100 401F 0000 401F 0000

005153: Aug  7 04:40:50.468:  0100 0800 0000 6461 7461 DCF4 6600 FEFE

005154: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005155: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005156: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005157: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005158: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005159: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005160: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005161: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005162: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005163: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005164: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005165: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005166: Aug  7 04:40:50.468:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005167: Aug  7 04:40:50.468:

005168: Aug  7 04:40:50.468: WAVE file processing Found RIFF

005169: Aug  7 04:40:50.468: WAVE file processing Found WAVE

005170: Aug  7 04:40:50.468: WAVE file processing Found fmt

005171: Aug  7 04:40:50.468: WAVE file codec Media_Payload_G711Ulaw64k

005172: Aug  7 04:40:50.468: WAVE file processing Found data

005173: Aug  7 04:40:50.468: WAVE file data start at 46 end at 6747402

005174: Aug  7 04:40:50.468: MOH read file header type WAVE start 46 end 6747402

005175: Aug  7 04:40:50.468: Moh-group 0 pre-read block 0 at write-offset 0 from flash0:/MOH_ulaw.wav offset 46

005176: Aug  7 04:40:50.468: Moh-group 0 pre-read block 1 at write-offset 8000 from flash0:/MOH_ulaw.wav offset 8046

005177: Aug  7 04:40:50.472: Moh-group 0 pre-read block 2 at write-offset 16000 from flash0:/MOH_ulaw.wav offset 16046

005178: Aug  7 04:40:50.476: Moh-group 0 pre-read block 3 at write-offset 24000 from flash0:/MOH_ulaw.wav offset 24046

005179: Aug  7 04:40:50.476: skinny_open_moh_play: Starting read server for moh-group 0 with play-offset 0 write-offset 32000

005180: Aug  7 04:40:50.768: SkinnyStartMoh: moh-group 0

005181: Aug  7 04:40:50.768: flash0:/MOH_ulaw.wav: MOH WAVE file

005182: Aug  7 04:40:50.768: skinny_open_moh_play set type to 2

005183: Aug  7 04:40:50.768:  5249 4646 02F5 6600 5741 5645 666D 7420

005184: Aug  7 04:40:50.768:  1200 0000 0700 0100 401F 0000 401F 0000

005185: Aug  7 04:40:50.768:  0100 0800 0000 6461 7461 DCF4 6600 FEFE

005186: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005187: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005188: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005189: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005190: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005191: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005192: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005193: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005194: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005195: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005196: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005197: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005198: Aug  7 04:40:50.768:  FEFE FEFE FEFE FEFE FEFE FEFE FEFE FEFE

005199: Aug  7 04:40:50.768:

005200: Aug  7 04:40:50.768: WAVE file processing Found RIFF

005201: Aug  7 04:40:50.768: WAVE file processing Found WAVE

005202: Aug  7 04:40:50.768: WAVE file processing Found fmt

005203: Aug  7 04:40:50.768: WAVE file codec Media_Payload_G711Ulaw64k

005204: Aug  7 04:40:50.768: WAVE file processing Found data

005205: Aug  7 04:40:50.768: WAVE file data start at 46 end at 6747402

005206: Aug  7 04:40:50.768: MOH read file header type WAVE start 46 end 6747402

005207: Aug  7 04:40:50.768: Moh-group 0 pre-read block 0 at write-offset 0 from flash0:/MOH_ulaw.wav offset 46

005208: Aug  7 04:40:50.772: Moh-group 0 pre-read block 1 at write-offset 8000 from flash0:/MOH_ulaw.wav offset 8046

OC-MHO-GW(config-telephony)#

005209: Aug  7 04:40:50.772: Moh-group 0 pre-read block 2 at write-offset 16000 from flash0:/MOH_ulaw.wav offset 16046

005210: Aug  7 04:40:50.776: Moh-group 0 pre-read block 3 at write-offset 24000 from flash0:/MOH_ulaw.wav offset 24046

005211: Aug  7 04:40:50.780: skinny_open_moh_play: Starting read server for moh-group 0 with play-offset 0 write-offset 32000

OC-MHO-GW#

005213: Aug  7 04:40:55.280: MoH route If GigabitEthernet0/1.900 ETHERNET 10.190.0.1 via ARP

OC-MHO-GW#sh ephone moh

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

Skinny Music On Hold Status - group 0

Active MOH clients 0 (max 1300), Media Clients 0, B-ACD Clients 0

File flash0:Servcorp_MOH.ULAW.alaw.ULAW.wav (not cached) type WAVE Media_Payload_G711Ulaw64k 160 bytes

Moh multicast 239.1.1.1 port 16384 route 10.190.0.1

File play position 912046 file type 2 current type 2

Play offset 58880, Write offset 16000,File start 46 end 6747402

File buffer at 12A8E9F8, buffer size 64000

RTP ssrc 2D3BDB55 timestamp_offset DC0 position 5C80 reposition 0

Max process service interval 511983 (last 44170)

Min interval 20021, missed 431983 run 0 (us)

moh_process_service counter 44061

Max Media process interval 530052 (last 500032) run 0 (us)

File system max access time 3073 (us) (last 3073) with late-reads 0

0 clients interrupt service, 0 process level

0 no-conversion, 0 a-to-mu, 0 mu-to-a

0 packets serviced at interrupt, 0 at process

-

Media Client Tx: 0     Xcode Tx: 0

Hi,

I'm still stuck.

From phone to phone on the same network, I hear the CUCM MOH different MOH file to what is currently loaded on the Site B router flash.

There are 2 MOH loaded on the server but only one is set to multicast. Same MOH loaded on the flash.