Procedure to allocate IP address and Port in SRST Multicast MOH :

Document

Wed, 04/29/2015 - 06:10
Jul 26th, 2011
User Badges:
  • Cisco Employee,

There is a general misconception that IP addresses were allocated per audio source ID.  For example:






Audio Source

Codec

Increment Multicast on IP Address

Increment Multicast on Port Number

Destination IP Address

Destination Port

Destination IP Address

Destination

Port

1

G.711 mu-law

239.1.1.1

16384

239.1.1.1

16384

1

G.711 a-law

239.1.1.2

16384

239.1.1.1

16386

1

G.729

239.1.1.3

16384

239.1.1.1

16388

1

Wideband

239.1.1.4

16384

239.1.1.1

16390

2

G.711 mu-law

239.1.1.5

16384

239.1.1.1

16392

2

G.711 a-law

239.1.1.6

16384

239.1.1.1

16394

2

G.729

239.1.1.7

16384

239.1.1.1

16396

2

Wideband

239.1.1.8

16384

239.1.1.1

16398












However, the fact is, IP address allocated based on the order the audio source was configured.  For example, if you configure audio source 2 before audio source 1, the table would be like this:





Audio Source

Codec

Increment Multicast on IP Address

Increment Multicast on Port Number

Destination IP Address

Destination Port

Destination IP Address

Destination

Port

1

G.711 mu-law

239.1.1.5

16384

239.1.1.1

16392

1

G.711 a-law

239.1.1.6

16384

239.1.1.1

16394

1

G.729

239.1.1.7

16384

239.1.1.1

16396

1

Wideband

239.1.1.8

16384

239.1.1.1

16398

2

G.711 mu-law

239.1.1.1

16384

239.1.1.1

16384

2

G.711 a-law

239.1.1.2

16384

239.1.1.1

16386

2

G.729

239.1.1.3

16384

239.1.1.1

16388

2

Wideband

239.1.1.4

16384

239.1.1.1

16390


You may use SQL command to check this in DB:


admin:run sql select mohaudiosourceid, multicastaddress, multicastport from mohservermulticastinfo where mohaudiosourceid='4'
mohaudiosourceid multicastaddress multicastport
================ ================ =============
4                239.1.1.1        16384        
4                239.1.1.2        16384        
4                239.1.1.3        16384        
4                239.1.1.4        16384



If you wish to get a list of all MOH audio sources with multicast IP address, port, and codec you can use this query.


run sql select m.mohaudiosourceid,m.multicastaddress,m.multicastport,c.name from mohservermulticastinfo as m,typemohcodec as c where m.tkmohcodec = c.enum

mohaudiosourceid multicastaddress multicastport name    

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

1                239.1.1.25       16384         711 ulaw

1                239.1.1.25       16386         711 alaw

1                239.1.1.25       16388         729     

1                239.1.1.25       16390         wideband

Loading.
Tsungs102 Wed, 04/29/2015 - 06:10
User Badges:

This really helped me clear up the misconception.  Thank you.

I was able to stream MoH from local flash after finding out audio source 1 is 239.2.1.1 in our environment.  However, this only worked for user hold but not when UCCX attempts to consulted transfer.  For some reason, during the consulted transfer the multicast address it uses is 239.2.1.5 and it is not coming from local flash and becomes garbled.

Do you know how that can be fixed?


Sam

Actions

This Document