Saturday, February 13, 2010

Music on Hold for Remote site

Cisco solution
Remote site router config
. Remote site in in G.729 region. G.729 will be used for voice calls.
!
Using MGCP back to CallManager for the analog devices.
ccm-manager fallback-mgcp
ccm-manager mgcp
ccm-manager music-on-hold
ccm-manager config server x.x.x.x
ccm-manager config
!
mgcp
mgcp call-agent x.x.x.x 2427 service-type mgcp version 0.1
mgcp dtmf-relay voip codec all mode out-of-band
mgcp rtp unreachable timeout 1000 action notify
mgcp modem passthrough voip mode nse
mgcp package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
mgcp package-capability pre-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
dial-peer voice 1 pots
incoming called-number .
port 0/2/0
!
dial-peer voice 2 voip
destination-pattern [1-8]...
session target ipv4:x.x.x.x
dtmf-relay h245-alphanumeric
codec g711ulaw !
!
dial-peer voice 3 pots
incoming called-number .
port 0/2/1
!
dial-peer voice 999020 pots
service mgcpapp
port 0/2/0
!
dial-peer voice 999030 pots
service mgcpapp
port 0/3/0
!
dial-peer voice 999021 pots
service mgcpapp
port 0/2/1
!
! Dial-peer 100 for SRST out dialing.
dial-peer voice 100 pots
port #
destination-pattern 9[2-9]......
!
! Need the gateway command to invoke H.323.
gateway
timer receive-rtp 1200
!
!
### SRST COMMANDS
call-manager-fallback
secondary-dialtone 9
max-conferences 8 gain -6
ip source-address x.x.x.x port 2000
max-ephones 5
max-dn 10
system message primary CM Failed, NOW on SRST
moh music-on-hold.au Our music file stored in flash.

Here is where the router enabled multicat MoH. Must put the same IP and port as specified in the CallManager MoH server.
multicast moh 239.1.1.1 port 16384 route xx.x.x.1 xx.x.x.x
!

!
End

No comments:

Post a Comment

Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...