Voice Gateways

FXS Voice Gateways and Cisco
Unified Call Manager
Configuration Guide
3RD Marine Division
HQBN Communications Company
LCPL MARTINEZ NEO
1
Gateways
1. Client to Server relationship (controlled by
Call Manager.)
•
•
SCCP
MGCP
2. Pont to Point relationship (own intelligence.)
• H.323
2
Call Flow
1.
2.
3.
Call Manager and Gateway exchange h.323 setup messages (TCP port 1720.)
Call Manager and Gateway perform h.225 and h.245 feature negotiation.
RTP streams sent between VoIP and POTS.
214.44.90.1
Gi 0/1
MAC: F47F353D6ACD
POTS
600
FXS user dials 200
FXS 0/3/0
214.10.91.94
VOIP
201
VOIP
200
3
Configure SCCP Gateway
SCCP is a centralized controlled gateway
registered to a Cisco Unified Call Manager.
Call manager Configuration s
1. Device> gateways> add new
GW type is the router’s series.
Protocol> SCCP
2.
Device Name= GiEth 0/1 MAC
This is how the CM registers the router.
Select Call Manager Group
3.
Select slot where FXS card is located>
save. Select FXS/DID subunit>save.
Configure FXS port.
FSX Port: 0/3/0
slot/subunit/port
Save> apply config> restart before you
configure fxs port.
Describe Device> Stanadard Analog>
Select location> Select Region> Select
security profile.
4
SCCP CUCM
5
F353D6ACD
Default CM group
Your FXS port address is 0/3/X
If Slot/Subunit/FXSport then
Slot=0 and Subunit=3
6
Router Configuration SCCP GW
(config)#sccp local gi 0/1
(config)#sccp ccm 214.10.91.94 identifier 10 versi 7.0+ Enables SCCP on CUCM and assigns a tag
number. You can add redundant nodes.
(config)#sccp
(config)#sccp ccm-group 1
(config)#associate ccm 10 priority 1 Assings priority to CUCM node
and redundant nodes.
(config)#stcapp feature access code
(config)#ccm-manager config server 214.10.91.94 Registers with CUCM
(config)#ccm-manager sccp local gi 0/1
(config)#ccm-manager sccp
(config)#no stcapp
(config)#stcapp ccm group 1
(config)#voice-port 0/3/0
(config-voice-if)#timeouts initial 60
(config-voice-if)#timeouts interdigit 60
(config-voice-if)#exit
(config-dial-peer-if)#dial-peer voice 10 pots Any number works (dial peer
group identifier)
(config-dial-peer-if)#service stcapp
(config-dial-peer-if)#port 0/3/0
(config-dial-peer-if)#exit
(config)#stcapp
(config)#stcapp register capability 0/3/0 modem-relay Improves STE quality for secure calls
7
Helpful Commands
•
If the configuration is not successful, try the following commands :
–
–
–
–
(config)#no sccp
(config)#no scapp
(config)#sccp
(config)#scapp
The order in which these services are enabled are important.
•
Troubleshooting:
–
–
–
–
–
–
–
–
#show dial-peer summ
#show dial-peer number
#debug cch 323 h225
#debug cch 323 h245
#debug voip ccapi inout
#debug tcp transaction
#csim start
#show h323 gateway
8
Configuring FXS lines
• Select the FXS port on the
router.
• Configure like you would
any other phone.
• Make sure you select
“Standard Analog” for
common phone profile.
• Ensure you assign a
directory number.
9
FINISHED!
NEXT IS MGCP
10
MGCP Gateway
• FXS lines are controlled
through the Call Manager
much like the SCCP gateway.
• MGCP and SCCP gateway
configurations are similar
on the Call Manager end.
11
Configure MGCP Gateway given
the same topology.
1.
Device> gateways> add new
GW type is the router’s series.
Protocol> MGCP
2.
Device Name= hostname/domain
Ex: 3800router.home.local
Hostname=3800router
Domain=home.local
3.
Select slot where FXS card is located> save.
Select FXS/DID subunit>save. Configure
FXS port.
FSX Port: 0/3/0
slot/subunit/port
Save> apply config> restart before you
configure fxs port.
Describe Device> Stanadard Analog>
Select location> Select Region> Select
security profile.
12
MGCP CUCM
13
IF IP DOMAIN-NAME IS
NOT CONFIGURED ON
ROUTER, TYPE HOSTNAME
ONLY !
i.e. 3800router
3800router.home.local
Default CM group
Your FXS port address is 0/3/X
If Slot/Subunit/FXSport then
Slot=0 and Subunit=3
14
Configuring FXS lines
• Select the FXS port on the
router.
• Configure like you would
any other phone.
• Make sure you select
“Standard Analog” for
common phone profile.
15
Router configuration MGCP GW
(config)#mgcp
(config)#mgcp call-agent 214.10.91.94
(config)#ccm-manager mgcp
(config)#ccm-manager redund 214.10.91.95 Subscriber CUCM
(config)#dial-peer voice 20 pots Any number works (dial peer group
(config-dial-peer)#port 0/3/0 identifier)
(config-dial-peer)#service mgcpapp Enables MGCP
(config-dial-peer)#exit
(config)#ccm-manager config server 214.10.91.94 Registers with CUCM
(config)#ccm-manager config
16
FINISHED
NEXT IS H.323
17
Call Legs
#3
#2
#1
#1 Inbound call leg; POTS dial peer
pointing to PXS ports. Must be
added to receive calls.
#2 Outbound call leg; VOIP dial peer
pointing to CUCM and voip phone
number pattern.
#3 Voip phone added on CUCM.
#4
#3
#2
#1
#1 Inbound call leg; POTS dial peer pointing
to FXS ports. Must be added to receive
calls.
#2 Outbound call leg; voip dial peer
pointing to CUCM or voip phone number
pattern. Inbound call leg from routers
perspective.
#3 Outbound call leg; bypasses this
gateway once inbound dial peer receives
original dial peer destined for CUCM.
#3 Voip phone added on CUCM.
18
H.323 GATEWAY
H323 gateways do not rely on a Call
Manager rather they provide they're
own intelligence allowing features
such as digit manipulation loop-start
ring down, detailed dial plans, ect.
Becoming familiar with the legging
theory and the protocols that fall
under H.323 will be useful when
configuring and troubleshooting this
gateway.
19
H.323 CUCM
Add New> H.323 gateway
Device name= interface IP address
Device Pool= external
Location=phantom
*Gateway registration is always
unknown.
20
Router Configuration
(config)#dial-peer voice 200 voip Any number works (dial peer group identifier)
(config-dial-peer)#destination-pattern 2.. CUCM number block
(config-dial-peer)#session target ipv4:214.10.91.94 CUCM
(config-dial-peer)#dial-peer voice 600 pots
(config-dial-peer)#destination-pattern 600 FXS number block
(config-dial-peer)#port 0/3/0
(config-dial-peer)#voice-class h323 50
(config)#h225 timeout tcp establish 2 Sets dial tone tune in to 2sec. (default is 30 sec)
(config)#dial-peer voice 200 voip
(config-dial-peer)#voice-class h323 50
Must match
(config-dial-peer)#dtmf-relay h245-alpha
(config-dial-peer)#dtmf-relay h245-signal
(config-dial-peer)#dtmf-relay rtp
(config-dial-peer)#exit
21