The VG224 does not act as the SRST router, but supports MGCP fallback to an H323 gateway that peers with the SRST router for all in/outbound calls. Basically, all you have to do is:
configure basic MGCP with the ccm-manager fallback-mgcp (ccm-manager download-config server and ccm-manager config are not necessary and I don't like them because they overwrite your hard coded config).
configure call application alternate Default.
configure a voip dial-peer to the SRST router (don't forget the modem passthrough nse codec g711ulaw and fax rate disable commands on both ends, and the dial-peer on the SRST router).
configure destination-patterns on all mgcpapp pots dial-peers.
TX-LAP-VG224#sh run
Building configuration...
Current configuration : 3692 bytes
!
version 12.3
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname TX-LAP-VG224
!
boot-start-marker
boot-end-marker
!
!
username xxxxxxxxx privilege 15 password 7 0025xxxxxxxxxx25C77
username xxxxxxxx privilege 15 password 7 001xxxxxxxxxxx095E
no aaa new-model
ip subnet-zero
ip tcp synwait-time 5
no ip domain lookup
ip host HOU-CCM-SUB 10.1.2.22
ip host HOU-CCM-PUB 10.1.2.21
!
!
no ftp-server write-enable
!
voice rtp send-recv
!
voice service voip
h323
!
voice class codec 2
codec preference 1 g711ulaw
codec preference 2 g729r8
codec preference 3 g729br8
!
!
!
voice class h323 1
h225 timeout tcp establish 3
!
!
!
!
!
!
!
ccm-manager fallback-mgcp
ccm-manager redundant-host 10.1.2.21
ccm-manager mgcp
ccm-manager music-on-hold
!
!
!
interface FastEthernet0/0
ip address 10.1.111.4 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.1.111.1
ip http server
!
!
!
!
control-plane
!
!
call application alternate Default
!
voice-port 2/0
<text ommited>
voice-port 2/23
!
mgcp
mgcp call-agent 10.1.2.22 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 package-capability rtp-package
no mgcp package-capability res-package
mgcp package-capability sst-package
no mgcp package-capability fxr-package
no mgcp timer receive-rtcp
mgcp sdp simple
mgcp fax t38 inhibit
mgcp rtp payload-type g726r16 static
!
mgcp profile default
!
!
dial-peer voice 1 voip
destination-pattern 9T
progress_ind setup enable 3
progress_ind progress enable 8
modem passthrough nse codec g711ulaw
voice-class codec 2
voice-class h323 1
session target ipv4:10.1.1.11
dtmf-relay h245-alphanumeric
fax rate disable
no vad
!
dial-peer voice 99920 pots
application mgcpapp
destination-pattern 2417
port 2/0
!
dial-peer voice 99921 pots
application mgcpapp
destination-pattern 2416
port 2/1
!
dial-peer voice 99922 pots
application mgcpapp
destination-pattern 2413
port 2/2
!
dial-peer voice 99923 pots
application mgcpapp
destination-pattern 2400
port 2/3
!
dial-peer voice 99924 pots
application mgcpapp
destination-pattern 2405
port 2/4
!
dial-peer voice 99925 pots
application mgcpapp
destination-pattern 2404
port 2/5
!
banner exec ^C
| |
.|. .|.
.|||. .|||.
..:|||||:..:|||||:..
C i s c o S y s t e m s^C
!
line con 0
logging synchronous
login local
transport preferred all
transport output all
line aux 0
transport preferred all
transport output all
line vty 0 4
logging synchronous
login local
transport preferred all
transport input all
transport output all
!
!
end
TX-LAP-VG224#
KEYWORDS:
vg-248
SRST
vg248
mgcp fallback
mgcp-fallback
failover
analog gateway