*The below two lines are not needed as we are routing it out the voice vlan and loopback interface. ** int vlan <voice vlan> ip pim dense-mode
**I've just retested this now on a branch with MGCP gateway meaning no dial peer anywhere. The rest of the configs mentioned by Shrini are good. A first it didn't work so just went and restarted the IP media streaming app and the ccm service for good measure! * On 7 March 2011 22:10, Shrini <linuxbos...@gmail.com> wrote: > Rahul, > > If you set voice class that means inter branch you are setting codec G711. > > Simple config: > > *call-manager-fallback > > moh music-on-hold.au > multicast moh 239.1.1.1 port 16384 route 10.10.110.2 10.10.200.2 > max ephones 2 > max dns 10 > ip source address 10.10.200.2 > > ip multicast-routing > > ccm-manager music-on-hold > > int vlan <voice vlan> > ip pim dense-mode* > > Thats all you need on router side. > > Reg settings - DP-MOH to any DP's G711 > HQ/BR1/BR2 DP intra - G729 inter G711 > > Music on Hold server - Use DP-MOH > > Hope this helps. > > Shrini > > > > On 3/7/2011 10:21 AM, Rahul Kapor wrote: > > Hi All, > > I have tested it in my lab . > > if i dont give voice class codec under dial-peer , MOH does not work for > PSTN phone. > > Can you try in your lab and let me know about the result ? > > thx, > Rahul > > On Mon, Mar 7, 2011 at 10:46 AM, ccieid1ot <ccieid...@gmail.com> wrote: > >> Thanks Roger! Hopefully Rahul agrees as well. :P >> >> duy >> ccie #27737 voice >> >> tmobile g2 >> On Mar 6, 2011 10:53 AM, "Rogers Ochieng" <rogersochi...@gmail.com> >> wrote: >> > My exact question duy,The phones will be instructed to listen to a >> > particular multicast IP and port with the region settings determining >> > those parameters, after that its all ip routing and nothing to do with >> > call routing configs like dial-peers and attached voice class. In >> > sourcing MOH from branch flash we block the multicast stream from >> > reaching the branch and spoof the same from flash with the same >> > multicast ip and port as would have been streamed from the CUCM MOH >> > server. >> > >> > On 3 March 2011 22:31, ccieid1ot <ccieid...@gmail.com> wrote: >> > >> >> Rahul, >> >> >> >> Where would the voice class be applied to MOH? Dial-peers has no >> relevance >> >> to MOH. >> >> >> >> >> >> On Wed, Mar 2, 2011 at 1:22 PM, Rahul Kapor <rahul.kapo...@gmail.com >> >wrote: >> >> >> >>> Hi Roger , >> >>> >> >>> >> >>> >> >>> If Voice class is not configured then MOH will negotiate codec g729 >> and >> >>> then it that case port should be incremented by 4 . in this case , MOH >> will >> >>> be heard by PSTN phone , not by BR1 phone . becos still Br1 phone will >> try >> >>> listen the MOH on base port. so voice class is mandatory. >> >>> >> >>> what u think ? >> >>> >> >>> thx, >> >>> Rahul >> >>> >> >>> >> >>> On Wed, Mar 2, 2011 at 7:56 PM, Rogers Ochieng < >> rogersochi...@gmail.com>wrote: >> >>> >> >>>> If you are sourcing MOH from Flash for a CUCM Branch phone then the >> >>>> multicast MOH server in CUCM will be in a region whose codec you have >> >>>> specified to be used intra and intraregion , this will affect the >> port or IP >> >>>> you use on the IOS router (increment on IP or port). So if you put it >> in a >> >>>> G711 only region then you can use the IP you specify and port since >> G711 is >> >>>> the first priority. I don't see where voice class codec comes in >> since >> >>>> multicast moh can't be transcoded. Don't forget max-dn and >> max-ephones >> >>>> >> >>>> >> >>>> On 2 March 2011 16:46, Rahul Kapor <rahul.kapo...@gmail.com> wrote: >> >>>> >> >>>>> Hello Rogers / Wi , >> >>>>> >> >>>>> thanks for help. >> >>>>> On top of this i have another question. >> >>>>> >> >>>>> Req is MOH should be played from flash >> >>>>> >> >>>>> gateway is H323 >> >>>>> >> >>>>> My config is >> >>>>> >> >>>>> dial-peer voice 3000 voip >> >>>>> destination-pattern 3... >> >>>>> voice-class codec 2 >> >>>>> session target ipv4:14.160.110.21 >> >>>>> incoming called-number . >> >>>>> >> >>>>> call-manager-fallback >> >>>>> max-conferences 12 gain -6 >> >>>>> transfer-system full-consult >> >>>>> ip source-address 14.160.116.40 port 2000 >> >>>>> moh music-on-hold.au >> >>>>> multicast moh 239.1.1.1 port 16384 route 1.1.1.1 >> >>>>> >> >>>>> voice class codec 2 >> >>>>> codec preference 1 g729br8 >> >>>>> codec preference 2 g729r8 >> >>>>> codec preference 3 g711alaw >> >>>>> codec preference 4 g711ulaw >> >>>>> >> >>>>> since MOH from flash only supports g711ulaw , voice class is >> mandatory. >> >>>>> >> >>>>> above config works perfectly. Is this correct approach. I want to >> make >> >>>>> sure that above config should not break the codec requirement. >> >>>>> >> >>>>> in this case when br1 phone make a PSTN call , codec g711 will be >> >>>>> negotiated as gateway and phone are in same region and voice class >> codec is >> >>>>> configured with g711 >> >>>>> >> >>>>> i would like to have your feedback. >> >>>>> >> >>>>> thx, >> >>>>> Rahul >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> >> >>>>> On Wed, Mar 2, 2011 at 9:11 AM, Rogers Ochieng < >> rogersochi...@gmail.com >> >>>>> > wrote: >> >>>>> >> >>>>>> When there is a requirement for HQ Phones calls to BR1 area code >> >>>>>> numbers or redundancy through BR1 Gateway >> >>>>>> >> >>>>>> On 1 March 2011 22:25, Rahul Kapor <rahul.kapo...@gmail.com> >> wrote: >> >>>>>> >> >>>>>>> Hi all , >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> For following question >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> For IP Phones and gateways , all calls within same site >> >>>>>>> >> >>>>>>> should use G711 codec. Also, all calls between the sites to remote >> IP >> >>>>>>> phones and >> >>>>>>> >> >>>>>>> gateways should use G729 codec. >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> My answer would be >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Hq region --à HR >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Br1 region --à BR >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Put the br1 gateway and Br1 phone in BR through device pool >> >>>>>>> >> >>>>>>> HQ gateway and Hq phones in HR through device pool >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> System parameter >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> G722 Codec Enabled [image: Required Field] disabled >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Intraregion Audio Codec Default g711/g722 >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Interregion Audio Codec Default g729 >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> My doubt is , when IP phone is taking to IP phone (Hq<>Br), >> gateway is >> >>>>>>> not coming in the picture. How can region setting here for gateway >> matters >> >>>>>>> ?? >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Please suggest. >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> Thx, >> >>>>>>> >> >>>>>>> Rahul >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> ! >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> _______________________________________________ >> >>>>>>> For more information regarding industry leading CCIE Lab training, >> >>>>>>> please visit www.ipexpert.com >> >>>>>>> >> >>>>>>> >> >>>>>> >> >>>>> >> >>>> >> >>> >> >>> _______________________________________________ >> >>> For more information regarding industry leading CCIE Lab training, >> please >> >>> visit www.ipexpert.com >> >>> >> >>> >> >> >> >> >> >> -- >> >> duy >> >> CCIE #27737 Voice >> >> >> >> >> > > > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > > > _______________________________________________ > For more information regarding industry leading CCIE Lab training, please > visit www.ipexpert.com > >
_______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com