![]() |
MGCP and Related Protocols Configuration Guide, Cisco IOS Release 12.4T
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Configuring MGCP CAS PBX and AAL2 PVC
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Contents
Configuring MGCP CAS PBX and AAL2 PVCLast Updated: December 14, 2011
This section provides information on configuring the MGCP Channel-Associated Signaling (CAS) Private-Branch-Exchange (PBX) and ATM Adaptation Layer 2 (AAL2) Permanent Virtual Circuit (PVC) feature. Feature benefits include the following:
For more information about this and related Cisco IOS voice features, see the following:
Feature History for MGCP CAS PBX and AAL2 PVCFinding Feature InformationYour software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the Feature Information Table at the end of this document. Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required. Prerequisites for MGCP CAS PBX and AAL2 PVCPrerequisites are described in the "Prerequisites for Configuring MGCP and Related Protocols" section on page 3 . Restrictions for MGCP CAS PBX and AAL2 PVCMGCP CAS PBX and AAL2 PVC Software Caveats
To check the type of DSP card, enter a show version command at the EXEC prompt. 1 6-DSP (slot 2) High Performance Compression Module(v01.A0) 1 6-DSP (slot 2) Voice Compression Module(v255.V7) If you have an HCM card, the MGCP Basic CLASS and Operator Services (BCOS) features will function correctly. If you have an VCM card, the AAL2 PVC feature is not supported.
Features Not Supported
Information About MGCP CAS PBX and AAL2 PVCThe MGCP CAS PBX and AAL2 PVC features extend the earlier Simple Gateway Control Protocol (SGCP) Channel Associated Signaling (CAS) and AAL2 support onto the merged SGCP/MGCP software base to enable various service provider solutions. MGCP CAS PBX and AAL2 PVC FeaturesDigital CAS (E&M) interfaces are supported in addition to the analog (FXO, FXS, and E&M) interfaces. For this feature release, the BGWs are the Cisco 3810 series and Cisco 2600 series routers. The TGWs are the Cisco 3600 series multiservice platforms. MGCP 0.1 has been expanded to support CAS packages that handle CAS PBX and Feature Group D CAS functions, including Barge-In/Busy Line Verify, and 911 capabilities on the TGW. The earlier version of the merged SGCP/MGCP stack supported only Voice over IP. The merged stack will now support both VoIP and VoAAL2. Only the Cisco MC3810 series platforms supports this feature in this release. The CAS PBX gateway features include CAS PBX trunks, digit maps, CAS events, and quarantine buffer software. These features were available in the existing standalone SGCP software; now they are supported in the merged stack.
For this feature release, the RGWs are the Cisco uBR924 cable router and Cisco 1750 access router. The essential difference for current SGCP users is that support for the SGCP application has been replaced with the MGCP application. The MGCP application supports both SGCP commands and MGCP commands, permitting access to a larger feature set than with the SGCP application alone. The MGCP CAS PBX and AAL2 PVC software assumes the MGCP mode as the default environment. This allows the gateway to recognize both MGCP and SGCP messages sent by the call agent. However, the user can specify SGCP mode for certain messages that will be sent by the gateway (by using the sgcp option as the service type in the mgcp call-agent command). Examples of Service Provider SolutionsMGCP CAS PBX and AAL2 PVC features support several types of service provider solutions: A CLEC can use residential cable access to provide residential customers with basic telephony and data services. The figure below illustrates a possible residential cable access solution: Note that in the figure above, the trunking gateway (the Cisco 3660 platform) requires support of incoming and outgoing MF signaling for the Barge-In and Busy-Line Verify features. The residential gateway (the Cisco uBR924 cable access router) must support the CLASS features and 911 capability. In these solutions, a call agent provides business voice services traditionally offered by a circuit-based PBX. The figure below illustrates an IP Centrex solution: In the figure above, the BGW (the Cisco 2600 platform) requires PBX connectivity to interface with the legacy PBX. A CLEC or IXC can provide small, medium, and large businesses with integrated voice and data access services. The integrated access device can be located at the central office or on the customer's premises. Access to the subscriber can be analog or digital T1 interfaces in addition to DSL. Transport of voice and data can be over IP, Frame Relay, or ATM. The figure below illustrates an integrated access solution: In the figure above, MGCP control of calls over the AAL2 PVCs is required on the BGWs (the Cisco 2600 series, Cisco 3600, and Cisco 3810 series platforms) to connect into the ATM network for VToA. The figure below illustrates a telecommuter/small office-home office solution: In the figure above, MGCP must control the calls over AAL2 PVCs, and an analog FXS interface is required. How to Configure MGCP CAS PBX and AAL2 PVCSome tasks indicate one or more configuration examples affected by the command. See the specific configuration example listing for the parameter values.
Configuring the GatewaySUMMARY STEPS
DETAILED STEPS
Configuring Subcell Multiplexing for AAL2 VoiceThis section describes the configuration tasks necessary to enable AAL2 common part sublayer (CPS) subcell multiplexing when the Cisco MC3810 series platform interoperates with a voice interface service module (VISM) in an MGX switch. DETAILED STEPS
Configuring the Cable Access Router for SGCP and MGCPThe Cisco uBR924 cable access router requires standard per-port provisioning to work with MGCP CAS PBX and AAL2 PVC: To access SGCP functionality, use the command: S|0|ca1@call-agent.abc.com:2427|S|1|ca2@call-agent.abc.com:2427 To access MGCP functionality, use the command: M|0|ca1@call-agent.abc.com:2427|M|1|ca2@call-agent.abc.com:2427 For either functionality type, port 0 points to call agent 1 and port 1 points to call agent 2. If needed, both ports can point to the same call agent. Verifying the MGCP CAS PBX and AAL2 PVC Configurations
SUMMARY STEPS
DETAILED STEPS
Configuration Examples for MGCP CAS PBX and AAL2 PVC
Example 1 MGCP Residential GatewayThe following example illustrates the configuration for a Cisco MC3810 series platform with CAS running the MGCP application: version 12.2 no service pad service timestamps debug datetime msec service timestamps log uptime ! hostname Router ! logging buffered ! ip subnet-zero ip host first 192.168.254.254 ! mgcp mgcp call-agent 172.16.90.1 ! voice-card 0 codec complexity high ! controller T1 0 framing esf linecode b8zs ! interface Ethernet0 ip address 172.16.92.3 255.255.0.0 ! interface Serial0 shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown ! interface FR-ATM20 no ip address shutdown ! ip default-gateway 172.16.0.1 ip route 198.168.254.0 255.255.255.0 172.16.0.1 ! voice-port 1/1 ! dial-peer voice 1 pots application MGCPAPP port 1/1 ! line con 0 exec-timeout 0 0 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 2 MGCP Gateway using Voice over ATM AAL2The following configuration illustrates a Cisco MC3810 series platform running the MGCP application using ATM AAL2 to carry voice traffic: version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname main.office ! network-clock base-rate 56k ip subnet-zero no ip domain-lookup ip host second 192.168.254.254 ip host first 192.168.254.253 ! mgcp mgcp call-agent 172.16.117.4 service-type mgcp version 0.1 mgcp dtmf-relay voip codec all mode nse mgcp dtmf-relay voaal2 codec all mgcp package-capability rtp-package mgcp tse payload 100 mgcp timer receive-rtcp 100 mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 171.16.121.1 255.255.0.0 ! interface Serial0 no ip address no ip mroute-cache shutdown no fair-queue ! interface Serial1 no ip address shutdown ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive interface ATM0.2 point-to-point pvc 2/200 vbr-rt 760 760 100 encapsulation aal2 vcci 2 ! interface FR-ATM20 no ip address shutdown ! router group1 1 redistribute connected network 172.0.0.0 ! ip default-gateway 172.16.0.1 no ip http server ip classless ip route 192.168.254.0 255.255.255.0 172.16.0.1 ! dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit voice-port 1/1 codec g711ulaw ! voice-port 1/2 shutdown ! voice-port 1/6 shutdown ! dial-peer voice 1 pots application MGCPAPP destination-pattern 2220001 port 1/1 ! line con 0 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 3 MGCP and SGCP EM Wink-StartThe following example illustrates an E&M wink-start configuration on the Cisco MC3810 series platform that can be defined for either the SGCP or MGCP modes: version 12.2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname sales ! network-clock base-rate 56k ip subnet-zero ! mgcp no mgcp timer receive-rtcp call rsvp-sync ! voice service voatm ! session protocol aal2 subcell-mux ! voice-card 0 ! controller T1 0 mode atm framing esf clock source internal linecode b8zs ! controller T1 1 mode cas framing esf linecode b8zs ds0-group 1 timeslots 1-24 type e&m-wink-start ! interface Ethernet0 ip address 172.29.248.199 255.255.255.0 no ip route-cache no ip mroute-cache ! interface Serial0 no ip address no ip route-cache no ip mroute-cache ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.2 point-to-point pvc 2/200 vbr-rt 1536 1536 100 encapsulation aal2 vcci 10 ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 0.0.0.0 0.0.0.0 172.29.248.1 no ip http server ! voice-port 1:1 dial-type mf ! dial-peer cor custom ! dial-peer voice 1 pots application mgcpapp destination-pattern 1 port 1:1 ! gatekeeper shutdown ! line con 0 exec-timeout 0 0 transport input none line aux 0 line 2 3 line vty 0 4 login length 0 ! ntp clock-period 17248569 ntp server 172.29.1.129 end Example 4 SGCP 1.5 CAS PBX using Voice over ATM AAL2The following figure and configuration illustrate the network connections for a Cisco MC3810 series platform with CAS running the MGCP application in SGCP 1.5 mode. ATM AAL2 carries voice traffic. This bearer VC has a vcci of 2 assigned to it. The service manager uses this vcci value and a selected channel identifier (CID) value for a voice call on this router. For AAL2, allocate 200 ATM cells/sec (84.8K bits/sec) for each G711u no vad call, 100 ATM cells/sec (42.4K bits/sec) for each G726-32 no vad or G729a no vad call. For these voice ports, the dial type is set to mfto support mf dialing.
Router A Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname A ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf clock source line linecode b8zs ! controller T1 1 mode cas framing esf clock source line linecode b8zs ds0-group 1 timeslots 1-8 type e&m-immediate-start ds0-group 2 timeslots 9-16 type e&m-wink-start ds0-group 3 timeslots 17-24 type fxs-ground-start ! interface Ethernet0 ip address 172.16.24.103 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.2 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc pvc 2/200 vbr-rt 1536 1400 100 encapsulation aal2 vcci 2 ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.5 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless no ip http server ! voice-port 1:1 ! voice-port 1:2 dial-type mf ! voice-port 1:3 ! dial-peer voice 1 pots application MGCPAPP port 1:1 ! dial-peer voice 2 pots application MGCPAPP port 1:2 ! dial-peer voice 3 pots application MGCPAPP port 1:3 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Router B Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname B ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf clock source line linecode b8zs ! controller T1 1 mode cas framing esf clock source line linecode b8zs ds0-group 1 timeslots 1-8 type e&m-immediate-start ds0-group 2 timeslots 9-16 type e&m-wink-start ds0-group3 timeslots 17-24 type fxs-ground-start ! interface Ethernet0 ip address 172.17.24.103 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.3 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc pvc 2/200 vbr-rt 1536 1400 100 encapsulation aal2 vcci 2 ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.8 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless no ip http server ! voice-port 1:1 ! voice-port 1:2 dial-type mf ! voice-port 1:3 ! dial-peer voice 1 pots application MGCPAPP port 1:1 ! dial-peer voice 2 pots application MGCPAPP port 1:2 ! dial-peer voice 3 pots application MGCPAPP port 1:3 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 5 SGCP 1.5 CAS PBX using Voice over IP over ATM AAL5The following figure and configuration illustrate the network connections for a Cisco MC3810 series platform with CAS running the MGCP application in SGCP 1.5 mode. Voice over IP over ATM AAL5 carries voice traffic. This configuration is very similar to the AAL2 example in the previous section except that an AAL5 PVC is the bearer PVC for voice traffic. This configuration has a loopback interface with an IP address assigned to it. During voice calls, the gateway gives this IP address to the service manager as the address for the other gateway of the voice connection to use as the destination IP address. In the example below, Router A's loopback address is 192.168.1.0 and Router B's address is 192.168.5.0. If Router A originated a call to Router B, A would give 192.168.1.0 to the Service Manager and B would give 192.168.5.0. The IP route configuration commands of both routers direct the IP traffic into the voice bearer PVC since the loopback addresses are on different IP subnets. For Voice over IP, allocate 300 ATM cells/sec (127.2K bits/sec) for each G711u no vad call, and 200 ATM cells/sec (84.8K bits/sec) for each G726-32 no vad or G729a no vad call.
Router A Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname A ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp modem passthrough nse mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! controller T1 1 mode cas framing esf clock source line linecode b8zs ds0-group 1 timeslots 1-8 type e&m-immediate-start ds0-group 2 timeslots 9-16 type e&m-wink-start ds0-group 3 timeslots 17-24 type fxs-ground-start framing esf linecode b8zs ! interface Loopback0 ip address 192.168.1.0 255.255.255.0 ! interface Ethernet0 ip address 172.16.24.103 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.2 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc ip address 10.0.0.5 255.0.0.0 pvc 1/2 vbr-rt 1536 1400 100 encapsulation aal5mux ip ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.8 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 10.0.0.15 255.0.0.0 ATM0.2 no ip http server ! ! voice-port 1:1 ! voice-port 1:2 dial-type mf ! voice-port 1:3 ! dial-peer voice 1 pots application MGCPAPP port 1:1 ! dial-peer voice 2 pots application MGCPAPP port 1:2 ! dial-peer voice 3 pots application MGCPAPP port 1:3 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Router B Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname B ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp modem passthrough nse mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! controller T1 1 mode cas ds0-group 1 timeslots 1-8 type e&m-immediate-start ds0-group 2 timeslots 9-16 type e&m-wink-start ds0-group3 timeslots 17-24 type fxs-ground-start framing esf linecode b8zs ! interface Loopback 0 ip address 192.168.5.0 255.255.255.0 ! interface Ethernet0 ip address 172.17.24.103 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.3 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc ip address 10.0.0.6 255.0.0.0 pvc 1/2 vbr-rt 1536 1400 100 encapsulation aal5mux ip ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.9 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 10.0.0.16 255.0.0.0 ATM0.2 no ip http server ! ! voice-port 1:1 ! voice-port 1:2 dial-type mf ! voice-port 1:3 ! dial-peer voice 1 pots application MGCPAPP port 1:1 ! dial-peer voice 2 pots application MGCPAPP port 1:2 ! dial-peer voice 3 pots application MGCPAPP port 1:3 ! ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 6 SGCP 1.5 Analog EM PBX using Voice over ATM AAL2The following figure and configuration illustrate the network connections for a Cisco MC3810 series platform with Analog E&M running the MGCP application in SGCP 1.5 mode. ATM AAL2 carries voice traffic. This configuration is similar to the SGCP 1.5 CAS PBX using Voice over ATM AAL2 configuration, with these exceptions:
In this example, the bearer PVC has enough bandwidth for two G711u no vad calls because the router has only two voice ports. Router A Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname A ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 mgcp sgcp restart notify isdn voice-call-failure 0 ! ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 172.16.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.2 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc pvc 1/2 vbr-rt 1536 170 8 encapsulation aal2 vcci 2 ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.5 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless no ip http server ! voice-port 1/3 operation 4-wire type 2 signal immediate ! voice-port 1/4 operation 4-wire type 2 dial-type mf ! ! dial-peer voice 3 pots application MGCPAPP port 1/3 ! dial-peer voice 4 pots application MGCPAPP port 1/4 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Router B Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname B ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 mgcp sgcp restart notify isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 172.17.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.3 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc pvc 1/2 vbr-rt 1536 170 8 encapsulation aal2 vcci 2 ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.6 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless no ip http server ! voice-port 1/3 operation 2-wire type 1 signal immediate ! voice-port 1/4 operation 4-wire type 2 dial-type mf ! dial-peer voice 3 pots application MGCPAPP port 1/3 ! dial-peer voice 4 pots application MGCPAPP port 1/4 ! ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 7 SGCP 1.5 Analog EM PBX using Voice over IP over ATM AAL5The following figure and configuration illustrate the network connections for a Cisco MC3810 series platform RGW with analog FXS loopstart ports running the MGCP application in SGCP 1.5 mode. Voice over IP over ATM AAL5 carries voice traffic. This configuration is similar to the SGCP 1.5 CAS PBX using Voice over IP over ATM AAL5 configuration, with these exceptions:
In this example, the bearer PVC has enough bandwidth for two G711u no vad calls because the router has only two voice ports. Router A Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname A ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 mgcp sgcp restart notify isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Loopback0 ip address 10.0.0.2 255.0.0. ! interface Ethernet0 ip address 172.16.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.5 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc ip address 10.0.0.6 255.0.0.0 pvc 1/2 vbr-rt 1536 260 8 encapsulation aal5mux ip ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.8 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 10.0.0.0 255.0.0.0 ATM0.2 no ip http server ! voice-port 1/3 operation 4-wire type 2 signal immediate ! voice-port 1/4 operation 4-wire type 2 dial-type mf ! dial-peer voice 3 pots application MGCPAPP port 1/3 ! dial-peer voice 4 pots application MGCPAPP port 1/4 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Router B Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname B ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 mgcp sgcp restart notify isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Loopback0 ip address 10.0.0.3 255.0.0.0 interface Ethernet0 ip address 172.17.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.7 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc ip address 10.0.0.9 255.0.0.0 pvc 1/2 vbr-rt 1536 170 8 encapsulation aal5mux ip ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.10 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 10.0.0.20 255.0.0.0 ATM0.2 no ip http server ! voice-port 1/3 operation 4-wire type 2 signal immediate ! voice-port 1/4 operation 4-wire type 2 dial-type mf ! dial-peer voice 3 pots application MGCPAPP port 1/3 ! dial-peer voice 4 pots application MGCPAPP port 1/4 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 8 SGCP 1.5 RGW using Voice over ATM AAL2The following figure and configuration illustrate the network connections for a Cisco MC3810 series platform RGW with analog FXS port running the MGCP application in SGCP 1.5 mode. ATM AAL2 carries voice traffic. This configuration is similar to the SGCP 1.5 CAS PBX using Voice over ATM AAL2 configuration, with these exceptions:
In this example, the bearer PVC has enough bandwidth for two G711u no vad calls because the router has only two voice ports. Router A Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname A ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 172.16.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.2 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc pvc 1/2 vbr-rt 1536 170 8 encapsulation aal2 vcci 2 ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.5 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless no ip http server ! ! voice-port 1/1 ! voice-port 1/2 ! dial-peer voice 1 pots application MGCPAPP port 1/1 ! dial-peer voice 2 pots application MGCPAPP port 1/2 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Router B Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname B ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 172.17.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown no cdp enable ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.3 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc pvc 1/2 vbr-rt 1536 170 8 encapsulation aal2 vcci 2 ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.6 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless no ip http server ! voice-port 1/1 ! voice-port 1/2 ! dial-peer voice 1 pots application MGCPAPP port 1/1 ! dial-peer voice 2 pots application MGCPAPP port 1/2 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Example 9 SGCP 1.5 RGW using Voice over IP over ATM AAL5The following figure and configuration illustrate the network connections for a Cisco MC3810 series platform RGW with analog FXS port running the MGCP application in SGCP 1.5 mode. Voice over IP over ATM AAL5 carries voice traffic. This configuration is similar to the SGCP 1.5 CAS PBX Voice Over ATM AAL5 configuration, with these exceptions:
In this example, the bearer PVC has enough bandwidth for two G711u no vad calls because the router has only two voice ports. Router A Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname A ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 172.16.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.2 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc ip address 10.0.0.5 255.0.0.0 pvc 1/2 vbr-rt 1536 260 8 encapsulation aal5mux ip ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.8 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 10.0.0.10 255.0.0.0 ATM0.2 no ip http server ! voice-port 1/1 ! voice-port 1/2 ! dial-peer voice 1 pots application MGCPAPP port 1/1 ! dial-peer voice 2 pots application MGCPAPP port 1/2 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end Router B Configurationversion 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname B ! network-clock base-rate 56K ip subnet-zero ! mgcp mgcp call-agent 10.0.0.1 service-type sgcp version 1.5 mgcp sgcp restart notify mgcp tse payload 100 no mgcp timer receive-rtcp mgcp timer net-cont-test 3000 isdn voice-call-failure 0 ! ! cns event-service server voice-card 0 ! controller T1 0 mode atm framing esf linecode b8zs ! interface Ethernet0 ip address 172.17.24.101 255.255.0.0 ! interface Serial0 no ip address no ip route-cache no ip mroute-cache shutdown ! interface Serial1 no ip address no ip route-cache no ip mroute-cache shutdown ! interface ATM0 no ip address ip mroute-cache no atm ilmi-keepalive ! interface ATM0.1 point-to-point description signaling vc ip address 10.0.0.3 255.0.0.0 pvc 1/1 vbr-rt 1536 64 encapsulation aal5snap ! interface ATM0.2 point-to-point description bearer vc ip address 10.0.0.6 255.0.0.0 pvc 1/2 vbr-rt 1536 260 8 encapsulation aal5mux ip ! interface ATM0.3 point-to-point description data vc ip address 10.0.0.7 255.0.0.0 pvc 1/100 encapsulation aal5snap ! interface FR-ATM20 no ip address no ip route-cache shutdown ! ip classless ip route 10.0.0.12 255.0.0.0 ATM0.2 no ip http server ! voice-port 1/1 ! voice-port 1/2 ! dial-peer voice 1 pots application MGCPAPP port 1/1 ! dial-peer voice 2 pots application MGCPAPP port 1/2 ! line con 0 exec-timeout 0 0 privilege level 15 transport input none line aux 0 line 2 3 line vty 0 4 login ! end
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R) Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental. © 2011 Cisco Systems, Inc. All rights reserved.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|