Deploying a Dial Plan on CallManager 5.0
Configuring CallManager Voice Gateways
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-1
Objectives •
Configuring MGCP Gateways in Cisco Unified CallManager
•
Configuring Gateways for MGCP
•
Verify MGCP Gateway Configurations
•
Configuring H.323 Gateways in Cisco Unified CallManager
•
Configuring Gateways for H.323
•
Verify H.323 Gateway Configurations
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-2
Configuring MGCP Gateways in Cisco Unified CallManager CallMan Call Manage agerr MGCP Gateway Gateway configura configuration tion steps: steps: 1. Add MGCP Gateway. 2. Add slots. 3. Add VICs. 4. Configure VICs.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-3
Configuring MGCP Gateways in Cisco Unified CallManager: Add Gateway
1 Select Device > Gateway
2 Add a new gateway to CallManager.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-4
Configuring MGCP Gateways in Cisco Unified CallManager: Add Gateway
4 Click next.
3 Select the appropriate gateway type.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-5
Configuring MGCP Gateways in Cisco Unified CallManager: Add Gateway
6 Click next.
5 Select the MGCP as Protocol.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-6
Configuring MGCP Gateways in Cisco Unified CallManager: Add Slot 1
4 Click Save.
Specify Domain Name (i.e. router host name + ip domain-name), Description and CallManager Group.
2 Select the appropriate slot and module.
3
© 2006 Cisco Systems, Inc . All rights reserved.
Select the appropriate ISDN switch type. (optional)
CCM50BC v1.0—#-7
Configuring MGCP Gateways in Cisco Unified CallManager: Add VICs
2 Click Save.
1 Select the appropriate VIC.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-8
Configuring MGCP Gateways in Cisco Unified CallManager: Configure VICs
1
© 2006 Cisco Systems, Inc . All rights reserved.
Click configuration icon to configure VIC
CCM50BC v1.0—#-9
Configuring MGCP Gateways in Cisco Unified CallManager: Configure VICs
3 Click Next.
2
© 2006 Cisco Systems, Inc . All rights reserved.
Select the appropriate device protocol.
CCM50BC v1.0—#-10
Configuring MGCP Gateways in Cisco Unified CallManager: Configure VICs
Device Information. (Generic)
MLPP Information. (Generic) Interface Information. (VIC Specifc) Call Routing Information – Inbound Calls. (Generic) © 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-11
Configuring MGCP Gateways in Cisco Unified CallManager: Configure VICs
Call Routing Information – Outbound Calls (Generic) PRI Protocol Type Specifc Information. (VIC Specific) UUIE Configuration. (VIC Specifc) Save/Reset Configuration.
© 2006 Cisco Systems, Inc . All rights reserved.
Product Specifc Information. (VIC Specific) CCM50BC v1.0—#-12
Configuring MGCP Gateways in Cisco Unified CallManager: Configure VICs Most important MGCP gateway configuration settings: Description
Example
Device Information
Includes device pool and location configuration.
Device Pool: SanJose
Interface Information
Contains all settings used to configure the VIC, e.g. ISDN Layer 3
Switch Type: PRI NI2
Call Routing Inbound Calls
Digit manipulation and routing for inbound calls.
Significant Digits: 4 Inbound CSS: None
Call Ro Call Routi uting ng Outbo Ou tboun und d Ca Call lls s
Digit manipulation and routing for outbound calls.
Number of Digits to strip: 0
VIC dependant configuration, e.g. ISDN Layer 2
Line Code: B8ZS
VIC Specific Information © 2006 Cisco Systems, Inc . All rights reserved.
Location: SanJose Protocol Side: User
Framing: ESF CCM50BC v1.0—#-13
Configuring Gateways for MGCP IOS MGCP gateway configuration steps: 1. Specify configuration server. 2. Enable configuration download.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-14
Configuring Gateways for MGCP router(config)#
ccm-m ccm -mana anager ger con config fig ser server ver
IP> •
Specifies CallManager TFTP server server hosting the gateway gateway config config XML file.
router(config)#
ccm-manager config •
Activates gateway to pull configuration from TFTP server.
router#
show ccm-manager •
Verify connection to CallManager
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-15
Configuring Gateways for MGCP router#
sho sh ow mgc mgcp p end ndp point •
Displays Displays mgcp controlle controlled d interfaces interfaces and channels. channels.
router#
show isdn status •
Displays ISDN Layer 1, Layer 2 and Layer 3 information
router#
debug isdn q931 •
Displays ISDN Q931 information.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-16
Verifying MGCP Gateway Operation Router1(config)#ccm-mana Router1(config)#ccmmanager ger confi config g serv server er 192. 192.168. 168.1.10 1.10 Router1(config)#ccm-manage Router1(config)# ccm-manager r config Router1#show Router1#show ccm-manager MGCP Domain Name: Router1 Priority Status Host ============================================================ Primary Registered 192.168.1.10 First Backup None Second Backup None … Registered with Router1#sh Router1#sho o mgc mgcp p en endp dpoi oint nt
CallManager.
Interface T1 1/0 ENDPOINT-NAME ENDPOINT-NA ME S1/ds1-0/1@Router1 S1/ds1-0/1@ Router1 S1/ds1-0/2@Router1 S1/ds1-0/2@ Router1 S1/ds1-0/3@Router1 S1/ds1-0/3@ Router1 S1/ds1-0/4@Router1 S1/ds1-0/4@ Router1 S1/ds1-0/5@Router1 S1/ds1-0/5@ Router1 S1/ds1-0/6@Router1 S1/ds1-0/6@ Router1 S1/ds1-0/7@Router1 S1/ds1-0/7@ Router1 S1/ds1-0/8@Router1 S1/ds1-0/8@ Router1
V-PORT 1/0:23 1/0:23 1/0:23 1/0:23 1/0:23 1/0:23 1/0:23 1/0:23
SIG-TYPE none none none none none none none none
ADMIN up up up up Registered MGCP up endpoints. up up up
…
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-17
Configuring Gateways for MGCP Router1#sho Router1#sho isdn status Global Glo bal ISDN ISDN Swit Switcht chtyp ype e = primar primary-n y-ni i %Q.931 is backhauled to CCM MANAGER 0x0003 on DSL 0. Layer 3 output may not appl Backhauled to y
CallManager. ISDN Serial1/0:23 interface dsl dsl 0, int inter erfa face ce ISD ISDN N Swit Switch chty type pe = prim primar aryy-ni ni L2 Protocol Protocol = Q.921 Q.921 0x0000 0x0000 L3 Protocol(s) Protocol(s) = CCM CCM MANAGER MANAGER 0x0003 0x0003 Layer 1 Status: ACTIVE Layer 2 Status: TEI = 0, C Ces es = 1, SAPI SAPI = 0, State State = MULTIPLE MULTIPLE_FRA _FRAME_ES ME_ESTABL TABLISHE ISHED D Layer 3 Status: 0 Active Layer 3 Call(s) Active dsl 0 CC CCBs = 0 The Free Channel Mask: 0x807FFFFF Layer 2 up. Number of L2 Discards = 0, L2 Session ID = 2 Total Tot al All Alloca ocated ted ISD ISDN N CCBs CCBs = 0 …
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-18
Configuring H.323 Gateways in Cisco Unified CallManager CallManager CallManager H.323 Gateway configuration configuration steps: 1. Add H.323 Gateway. 2. Configure H.323 Gateway settings.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-19
Configuring H.323 Gateways in Cisco Unified CallManager: Add Gateway
1 Select Device > Gateway
2 Add a new gateway to CallManager.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-20
Configuring H.323 Gateways in Cisco Unified CallManager: Add Gateway
4 Click Next.
3 Select H.323 Gateway.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-21
Configuring H.323 Gateways in Cisco Unified CallManager: Gateway
3 Click Save.
1
2
© 2006 Cisco Systems, Inc . All rights reserved.
Device Name = IP Address or resolvable hostname.
Configure all other required gateway settings.
CCM50BC v1.0—#-22
Configuring H.323 Gateways in Cisco Unified CallManager: Gateway Most important H.323 gateway configuration settings: Description
Device Information
Includes device name, device pool and location configuration.
Example
Device Name: 192.168.2.254 Device Pool: Chicago Location: Chicago Significant Digits: 4
Call Routing Inbound Calls
Digit manipulation and routing for inbound calls.
Inbound CSS: None
Call Ro Call Routi uting ng Outbo Ou tboun und d Ca Call lls s
Digit manipulation and routing for outbound calls.
Number of Digits to strip: 0
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-23
Configuring Gateways for H.323 IOS H.323 gateway configuration steps: 1. Verify voice port configuration. 2. Configure H.323 source interface. 3. Configure H.323 dial-peers. dial-peers.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-24
Configuring Gateways for H.323 CCM 192.168.1.10
Dial-Peer 9 Destination 9T Chicago +1 312 555 3XXX
PSTN V V
H.323 H.323 IP WAN
3XXX Site Code 802
Dial-Peer 13125553 Destination 13125553…
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-25
Configuring Gateways for H.323: Verify Voice Port Configuration Router2#show running-config … ! controller T1 1/0 framing esf line inecod code b8zs pri-group timeslots 1-24 ! … ! interface Serial1/0:23 no ip ip address encapsulation encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice voice no cd cdp enable !
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-26
Configuring Gateways for H.323: Sourc Interface router(config-if)#
h323 h3 23-g -gat atew eway ay voi voip p bi bind nd src srcad addr dr IP> •
Specifies the source IP address used for H.323.
Router2#show running-config … ! interface FastEthernet0/0 description Site2 LAN ip addr address ess 192. 192.168.2 168.2.254 .254 255. 255.255. 255.255. 255.0 0 duplex auto speed auto h323 h3 23-g -gat atew eway ay voi voip p bi bind nd srca srcadd ddr r 19 192. 2.16 168. 8.2. 2.25 254 4 !
Configuring Gateways for H.323: Dial-Peers router(config)#
dial-peer voice voip|pots •
Configures Configures a VoIP or POTS POTS dial-pee dial-peer. r.
router(config-dial-peer)#
destination-pattern •
Configures the dialed destination of a dial-peer
router(config-dial-peer)#
sessi ses sion on tar target get ipv ipv4:< 4: ss> •
Configures Configures a H.323 H.323 target target of a VoIP dial-peer dial-peer
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-28
Configuring Gateways for H.323: Dial-Peers router(config-dial-peer)#
codec •
Configures Configures the the codec codec for a VoIP VoIP dial-peer. dial-peer.
router(config-dial-peer)#
port •
Configures a POTS target for POTS dial-peers
router(config-dial-peer)#
direct-inward-dial •
Enables DID calls.
router(config-dial-peer)#
incoming called-number •
Specifies the incoming called-number which needs to match.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-29
Configuring Gateways for H.323: Dial-Peers Router2#show running-config ! dial-peer voice 9 pots destination-pattern destination-pattern 9T incoming called-number 13125552... direct-inward-dial port 1/0:23 ! dial-peer voice 13125552 voip destination-pattern destination-pattern 13125553... session target ipv4:192.168.1.10 incoming called-number 9T codec g711ulaw no vad dtmf-r dtm f-rela elay y h24 h245-a 5-alph lphanu anumer meric ic !
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-30
Verifying H.323 Gateway Operation router#
show voice port summary •
Displays voice-port information.
router#
debug isdn q931 •
Displays ISDN Q931 information.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-31
Verifying H.323 Gateway Operation router#
deb de bug voip voip di dia alpee eer r •
Debugs dial-peer matching. matching.
Router2#de Router2#debu bug g vo voip ip di dial alpe peer er *Apr 10 05:03:40.816: //-1/xxxxxxxxxxxx/DPM/dpAssociateIncomingPeerCore: Calling Number=14085556666, Called Number=13125552001, VoiceInterface=0x855C AE88, Timeout= Time out=TRUE TRUE, , Peer Enca Encap p Type= Type=ENCA ENCAP_VO P_VOICE, ICE, Peer Peer Search Search Type=PEER_TYPE_VOICE, Peer Info Type=DIALPEER_INFO_SPEECH …
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-32
Verifying H.323 Gateway Operation router#
Debug h225 asn1|events|q931 •
Debugs dial-peer matching. matching.
Router2#debug Router2#debug h225 asn1 *Apr 10 05:07:38.690: H225 NONSTD OUTGOING PDU ::= value H323_UU_NonStdInfo ::= { version 2 pro prot toPar Param qsi qsigNonS NonSt tdInf dInfo o : { iei 4 rawMesg rawM esg '040 '0403809 38090A21 0A21803A9 803A98381 83811E02 1E028583 85836C0D 6C0D0080 00803134 3134...'H ...'H } pro progI gInd ndPa Para ram m prog progIn IndI dIEi Einf nfo o : { pro progI gInd ndIE IE '000 '00000 0000 003' 3'H H } } …
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-33
Summary •
•
•
•
•
•
MGCP gateway configuration depends on router model and used VICs. Configure IOS MGCP gateways to pull the configuration from CallManager to reduce manual configuration efforts. Debug and show commands can be used to verify the MGCP gateway and endpoint status. H.323 gateway is generic and does not depend on used IOS gateway. Configure IOS H.323 gateways with correct dial-peers to interact with CallManager. Debug commands can be used to verify dial-peer matching and H.225 signalling.
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-34
© 2006 Cisco Systems, Inc . All rights reserved.
CCM50BC v1.0—#-35