cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4502
Views
5
Helpful
16
Replies

Internal MOH

mightyking
Level 6
Level 6

Hi All,

Our external MOH works but internal fails. The wav file is being played from the GW. I am using 239.2.1.1 as the Base Multi-cast IP Address because one of our SUBs is sourcing the MOH. I am using the same address under Call-Manager-Fallback. Could you please let me know if I am missing anything in the config.

Thanks,

MK

1 Accepted Solution

Accepted Solutions

MK,

I know you already checked some of these, but here goes my list to checking MoH issues.

CUCM:

  • Make sure you upload the audio source to all MoH servers in the cluster. You do this by going to the CCMAdmin portal on each MoH server/subscriber. You also want to load it on the publisher.
  • Make sure that the audio source is configured to allow multicast
  • Make sure that the MoH server is configured for multicast. Pay particular attention to the maximum hops parameter to ensure the TTL lines up with router hops between the source (CUCM MoH server) and destination (IP phone).
  • Assign your MoH server to a media resource group (MRG) that is multicast enabled.
  • You can also assign the MoH server to a MRG that is NOT multicast enabled for testing the audio source (if you feel that is necessary). I usually do this for sites where multicast isn't configured on all network segments too.

Network: (assuming PIM)

  • Make sure you have the RP configured and check RPs to ensure you aren't blocking multicast addresses
  • Check ACLs (if you use them) to make sure you aren't blocking multicast addresses
  • For routers you expect to carry mcast traffic, check that all L3 interfaces are enabled for PIM (sparse-mode preferred, except for RP interfaces which should be sparse-dense) (sh ip pim interface.  sh runn | i interface | pim  OR sh ip pim interface detail)
  • Make sure igmp snooping is enabled on Catalyst switches (sh ip igmp snooping)

To test the audio source from your MoH server, you can use the unicast MRG and assign it (via MRGL) to a test phone. Do your test, make sure MoH is working. Then you can start digging into your multicast issues. For troubleshooting, start at the CUCM and work out:

  • On CUCM MoH server SSH to the CLI and enter command: show media streams.  A file is created, view the file and look for Cfg=MOH lines and ensure that Tx stream is using multicast
  • To be doubly sure, use 'utils network capture ' command to grab a trace to see if multicast packets are being sent.
  • If you see mcast streams in the above checks, then your problem is on the network

HTH.

Regards,

Bill

please rate helpful posts

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

View solution in original post

16 Replies 16

Joseph Martini
Cisco Employee
Cisco Employee

What are you incrementing on in CUCM, IP address or port?  When you have a call on hold, connect to the subcriber (MoH server) and issue from the command line "show media streams", that will show you what port number (if you increment on port) based on the codec used CUCM is going to tell the phone to listen to.  Another common problem is mulicast routing isn't enabled through the remote site for MoH to get to the phones.

Thanks for the replying Joemar2,

And yes I am incrementing IP address. I am using 239.1.1.1 port 16384 for the Pub and 239.2.1.1 port 16384 for the Sub. I enabled IP Multicast-routing on the GWs but did not help. We still have issues with internal MOH. The external works fine.

Thanks,

MK

Anybody with any idea why the internal MOH is not working?

Thanks,

MK

Can you take a packet capture from near the remote router to see if any multicast traffic is being streamed from it at all?

Joemar2,

There's no remote router. The phones are registered to the local sub (same building) and the GWs are local as well. I can see the Sub is streaming the MOH but no audio is being heard.

The output of  "admin:show perf query class "Cisco MOH Device" shows the MOH Muticast is being streamed. The command was performed in the Subscriber
==>query class :

- Perf class (Cisco MOH Device) has instances and values:
    MOH_6           -> MOHHighestActiveResources      = 2
    MOH_6           -> MOHMulticastResourceActive     = 1
    MOH_6           -> MOHMulticastResourceAvailable  = 250000
    MOH_6           -> MOHOutOfResources              = 0
    MOH_6           -> MOHTotalMulticastResources     = 250000
    MOH_6           -> MOHTotalUnicastResources       = 250
    MOH_6           -> MOHUnicastResourceActive       = 0
    MOH_6           -> MOHUnicastResourceAvailable    = 250

Joseph Martini
Cisco Employee
Cisco Employee

mightyking wrote:

Our external MOH works but internal fails. The wav file is being played from the GW. I am using 239.2.1.1 as the Base Multi-cast IP Address because one of our SUBs is sourcing the MOH.

Ok, I was confused, if MoH is streaming from the local subscriber, make sure that the subscriber isn't streaming silence because the MoH file was not uploaded on the subscriber.  The MoH audio files are not replicated, they have to be uploaded to each server.  Double check that if you would please.

I uploaded the wav file to Subscriber by going to OS Administration page -> Software Upgrades -> TFTP File Managment -> Upload File. But unfortunately the internal MOH is not working. Could the problem be becaue that the wav file is being played from the GW?

Thanks,

MK

It depends on your configuration, if you're intending to play it from the gateway or not.  However if you are trying to play it from call manager, you don't upload the file from OS Administration, you have to go to CCMAdmin on the subscriber, to Media Resources > MoH Audio File Management.  Then check under Media Resources > Music On Hold Audio Source, to make sure you have the file defined there as well.

The file is defined in the Subscriber under Media Resource > Music On Hold Audio Source but still the internal MOH is not working.

MK

I am having the exact same circumstances (external MOH fine, internal does not work) but when i run the show perf i see no active resources, although i have my sub set to multicast. Why would the resource show up as not active?

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

    MOH_5           -> MOHHighestActiveResources      = 2

    MOH_5           -> MOHMulticastResourceActive     = 0

    MOH_5           -> MOHMulticastResourceAvailable  = 30

    MOH_5           -> MOHOutOfResources              = 0

    MOH_5           -> MOHTotalMulticastResources     = 30

    MOH_5           -> MOHTotalUnicastResources       = 250

    MOH_5           -> MOHUnicastResourceActive       = 0

    MOH_5           -> MOHUnicastResourceAvailable    = 250

I am still looking for a solution for our internal MOH. Anybody with any ideas?

Thanks,

MK

MK,

I know you already checked some of these, but here goes my list to checking MoH issues.

CUCM:

  • Make sure you upload the audio source to all MoH servers in the cluster. You do this by going to the CCMAdmin portal on each MoH server/subscriber. You also want to load it on the publisher.
  • Make sure that the audio source is configured to allow multicast
  • Make sure that the MoH server is configured for multicast. Pay particular attention to the maximum hops parameter to ensure the TTL lines up with router hops between the source (CUCM MoH server) and destination (IP phone).
  • Assign your MoH server to a media resource group (MRG) that is multicast enabled.
  • You can also assign the MoH server to a MRG that is NOT multicast enabled for testing the audio source (if you feel that is necessary). I usually do this for sites where multicast isn't configured on all network segments too.

Network: (assuming PIM)

  • Make sure you have the RP configured and check RPs to ensure you aren't blocking multicast addresses
  • Check ACLs (if you use them) to make sure you aren't blocking multicast addresses
  • For routers you expect to carry mcast traffic, check that all L3 interfaces are enabled for PIM (sparse-mode preferred, except for RP interfaces which should be sparse-dense) (sh ip pim interface.  sh runn | i interface | pim  OR sh ip pim interface detail)
  • Make sure igmp snooping is enabled on Catalyst switches (sh ip igmp snooping)

To test the audio source from your MoH server, you can use the unicast MRG and assign it (via MRGL) to a test phone. Do your test, make sure MoH is working. Then you can start digging into your multicast issues. For troubleshooting, start at the CUCM and work out:

  • On CUCM MoH server SSH to the CLI and enter command: show media streams.  A file is created, view the file and look for Cfg=MOH lines and ensure that Tx stream is using multicast
  • To be doubly sure, use 'utils network capture ' command to grab a trace to see if multicast packets are being sent.
  • If you see mcast streams in the above checks, then your problem is on the network

HTH.

Regards,

Bill

please rate helpful posts

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify

Although I have not tried the solution yet but you deserve more than 5 points my friend. Thank you for taking the time and posting this wonderful detail. I see now the reason why you're selected as VIP.

Thanks again,

MK

MK,

Glad to help and thanks for the kudos. It is really appreciated.

Regards,

Bill

HTH -Bill (b) http://ucguerrilla.com (t) @ucguerrilla

Please remember to rate helpful responses and identify