Case Study: Configuring an MGCP Gateway

Case Study Providing Enterprise VoIP Trunking to VoIP Service of the Service Provider

The New York office needs to connect a CallManager H.225 trunk to a SIP service provider. The CallManager is version 4.1.3. To provide security and protocol interworking, you plan to implement an IPIPGW to connect with the service provider, as shown in Figure 18-6.

Figure 18-6. New York IPIPGW Implementation

 

CallManager Configuration

Note the following points in CallManager trunk configuration:

Example 18-15 shows the configuration steps for implementing the IPIPGW. In this example, the Cisco IOS gatekeeper and the IPIPGW are running on the same router platform.

Example 18-15. IPIPGW Implementation

 

[View full width]

! ! Enabling IPIPGW functionality ! IPIPGateway#config t IPIPGateway(config)#voice service voip IPIPGateway(conf-voi-serv)#allow-connections h323 to sip IPIPGateway(conf-voi-serv)#allow-connections sip to h323 IPIPGateway(config-voi-serv)#exit ! ! Configuring the gatekeeper ! IPIPGateway(config)#gatekeeper IPIPGateway(config-gk)#zone local via_gk zone2 IPIPGateway(config-gk)#zone local CCM zone2 invia via_gk outvia via_gk IPIPGateway(config-gk)#zone prefix CCM 2125553... gw-priority 6 IPIPGatewayTrunk_1 IPIPGateway(config-gk)#gw-type-prefix 1#* default-technology IPIPGateway(config-gk)#no shutdown IPIPGateway(config-gk)#exit ! ! Configuring the H.323 gateway to register with the gatekeeper ! IPIPGateway(config)#interface GigabitEthernet0/0 IPIPGateway(config-if)#ip address 10.1.10.50 255.255.255.0 IPIPGateway(config-if)#h323-gateway voip interface IPIPGateway(config-if)#h323-gateway voip id via_gk ipaddr 10.1.10.50 1719 IPIPGateway(config-if)#h323-gateway voip h323-id IP-to-IP_GW IPIPGateway(config-if)#exit ! ! Configuring SIP user-agent section to point toward the service provider SIP proxy ! IPIPGateway(config)#sip-ua IPIPGateway(config-sip-ua)#authentication username ipip password 01100F175804 realm CISCO IPIPGateway(config-sip-ua)#sip-server dns:csps-release.gb.com IPIPGateway(config-sip-ua)#exit ! ! Configuring the VoIP dial peers for routing calls from and to the Cisco CallManager ! IPIPGateway(config)#dial-peer voice 1 voip IPIPGateway(config-dial-peer)#destination-pattern 4088536... IPIPGateway(config-dial-peer)#session protocol sipv2 IPIPGateway(config-dial-peer)#session target sip-server IPIPGateway(config-dial-peer)#codec g711ulaw IPIPGateway(config-dial-peer)#exit ! IPIPGateway(config)#dial-peer voice 2 voip IPIPGateway(config-dial-peer)#destination-pattern 2125553... IPIPGateway(config-dial-peer)#session target ras IPIPGateway(config-dial-peer)#incoming called-number .T IPIPGateway(config-dial-peer)#codec g711ulaw IPIPGateway(config-dial-peer)#end  

Figures 18-7, 18-8, and 18-9 illustrate the CallManager H.225 trunk configuration.

Figure 18-7. CallManager H.225 Trunk Configuration

Figure 18-8. CallManager H.225 Trunk Configuration (Continued)

Figure 18-9. CallManager H.225 Trunk Configuration (Continued)

Категории