Friday, February 8, 2008
Configuring MGCP
A quick cheat sheet for MGCP configuration:-
3 components for MGCP
Call Agent: Control operation of gateway, usually CUCM
Endpoint: point of connection between packet network and trad phone network, usually analog lines or voice trunk lines (DS0)
Gateway: Translation between packet network and switched network, usually voice-enabled router
Configuring MGCP on Residential gateway
ccm-manager mgcp
! Call-agent is the CUCM address, at least one call-agent address is required
mgcp
mgcp call-agent 1.2.3.4
voice-port 1/0/0
voice-port 1/0/1
dial-peer voice 1 pots
application MGCPAPP
port 1/0/0
dial-peer voice 2 pots
application MGCPAPP
port 1/0/1
A destination pattern is not used because the relationship between the dial number and the port is maintained by the call agent.
Configuring MGCP on Trunk Gateway
ccm-manager mgcp
mgcp
mgcp call-agent 1.2.3.4
controller T1 1/0
frame esf
clock source internal
ds0-group 1 timeslots 1-24 type none service mgcp
controller T1 1/1
frame esf
clock source internal
ds0-group 1 timeslots 1-24 type none service mgcp
voice-port 1/0:1
voice-port 1/1:1
Instead of using application mgcpapp command in a dial peer, the service mgcp parameter is used in the ds0-group controller subcommand to identifies its the trunk endpoint with MGCP. As always, the call agent maintains the relationship between the endpoint and its address.
Monitoring and troubleshooting
show call active voice
show call history voice
show mgcp
show mgcp connection
show mgcp endpoint
show mgcp statistics
debug voip ccapi inout <- Useful as always
debug mgcp all
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment