Step 1 |
mgcp
|
|
Step 2 |
mgcp
call-agent
{ipaddr | hostname } [port ] [service-type type ] version version-number
Router(config)# mgcp call-agent {ipaddr
| hostname
} [port
] [service-type type
] version version-number
|
Configures the MGCP call agent and service type. If you want SGCP mode, use sgcp as the service type.
|
Step 3 |
mgcp
dtmf-relay
voip
codec
{all | low-bit-rate } mode {cisco | nse | out-of-band }
Router(config)# mgcp dtmf-relay voip codec {all | low-bit-rate} mode {cisco | nse | out-of-band}
|
(Optional. See Configuration Example 2.) Specifies compressed codecs for digit forwarding.
|
Step 4 |
mgcp
package-capability
{as-package | atm-package | dtmf-package | gm-package | hs-package | nas-package | rtp-package | script-package | trunk-package }
Router(config)# mgcp package-capability {as-package | atm-package | dtmf-package | gm-package | hs-package | nas-package | rtp-package | script-package | trunk-package}
|
(Optional. See Configuration Example 2.) Assigns packages to the gateway. Also refer to the mgcp default-package command.
|
Step 5 |
mgcp
sgcp
restart
notify
Router(config-if)# mgcp sgcp restart notify
|
(Required only for SGCP mode with a call agent supporting RSIP. See Configuration Examples 4 through 9.) Causes MGCP to send
SGCP RSIP messages.
|
Step 6 |
mgcp
modem
passthrough
[voip | voaal2 ] mode [cisco | nse ]
Router(config-if)# mgcp modem passthrough [voip | voaal2] mode [cisco | nse]
|
(Optional for nse mode) Enables the gateway to process fax or modem messages. VoAAL2 does not support cisco .
|
Step 7 |
mgcp
tse
payload
type
Router(config)# mgcp tse payload type
|
(Required for nse mode. See Step 6.) Enables the TSE payload for fax and modem messages.
|
Step 8 |
mgcp
rtp
unreachable
timeout
timer-value
Router(config)# mgcp rtp unreachable timeout timer-value
|
(Optional) Enables detection of unreachable remote VoIP endpoints.
|
Step 9 |
no
mgcp
timer
receive-rtcp
Router(config)# no mgcp timer receive-rtcp
|
(Required for non-RGWs. See Configuration Examples 2 through 9.) Turns off the RTP RTCP receive timeout interval at the gateway.
|
Step 10 |
mgcp
timer
net-cont-test
timer
Router(config)# mgcp timer net-cont-test timer
|
(Optional for non-RGWs. See Configuration Examples 2 through 9.) Turns on the continuity test timeout interval at the gateway.
|
Step 11 |
controller
T1
0
Router(config)# controller T1 0
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Select s the T1 controller 0.
|
Step 12 |
mode
atm
Router(config-controller)# mode atm
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Specifies that the controller will support ATM encapsulation
and create ATM interface 0.
When the controller is set to ATM mode, the following takes place:
|
Step 13 |
no
shutdown
Router(config-controller)# no shutdown
|
(Optional for ATM mode. See Configuration Examples 2 through 9.) Ensures that the controller is activated.
|
Step 14 |
exit
Router(config-controller)# exit
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Exits the current mode.
|
Step 15 |
mgcp
quarantine
mode
process
Router(config)# mgcp quarantine mode process
|
(Optional) Turns on processing for SGCP quarantine mode.
|
Step 16 |
controller
T1
1
Router(config)# controller T1 1
|
(Required for CAS PBX. See Configuration Examples 3, 4, and 5.) Select the T1 controller 1.
|
Step 17 |
mode
cas
Router(config-controller)# mode cas
|
(Required for CAS PBX. See Configuration Examples 3, 4, and 5.) Specify that the controller will support CAS.
|
Step 18 |
ds0-group
channel-number
timeslots
range
type
signaling-type
tone
type
addr
info
service
service-type
Router(config-controller)# ds0-group channel-number
timeslots range
type signaling-type
tone type
addr info
service service-type
|
(Required for CAS PBX. See Configuration Examples 3, 4, and 5.) Configure the T1 timeslots for CAS calls.
|
Step 19 |
exit
Router(config-controller)# exit
|
(Required for CAS PBX. See Configuration Examples 3, 4, and 5.) Exit controller configuration mode.
|
Step 20 |
interface
atm0
[subinterface-number [multipoint | point-to-point ]]
Router(config)# interface atm0 [subinterface-number
[multipoint | point-to-point]]
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Enter interface configuration mode to configure ATM interface
0 or an ATM subinterface.
Default for subinterfaces is multipoint.
For all scenarios: Set up three subinterfaces for point-to-point.
|
Step 21 |
pvc
[name ] vpi/vci
Router(config-if)# pvc [name
] vpi/vci
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Create an ATM PVC for voice traffic and enter ATM virtual
circuit configuration mode.
Note
|
The ilmi and qsaal options are not supported for AAL2.
|
|
Step 22 |
encapsulation
aal-encap
Router(config-if-atm-vc)# encapsulation aal-encap
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Set the encapsulation of the PVC for voice traffic. aal2 automatically creates channel identifiers (CIDs) 1 through 255.
Some of the Scenarios use aal5snap for ATM0.1 and ATM0.3. Use aal2 for ATM0.2.
|
Step 23 |
vbr-rt
peak-rate
average-rate
[burst ]
Router(config-if-atm-vc)# vbr-rt peak-rate
average-rate
[burst
]
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Configures the PVC for the variable-bit-rate real-time (voice)
traffic.
|
Step 24 |
vcci
pvc-identifier
Router(config-if-atm-vc)# vcci pvc-identifier
|
(Optional for ATM mode. See Configuration Examples 2 through 9.) Assigns a unique identifier to the PVC.
|
Step 25 |
exit
Router(config-if-atm-vc)# exit
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Exits the current mode.
|
Step 26 |
exit
|
(Required for ATM mode. See Configuration Examples 2 through 9.) Exits the current mode.
|
Step 27 |
dial-peer
voice
number
pots
Router(config)# dial-peer voice number
pots
|
Enter dial peer configuration mode for the POTS dial peer.
|
Step 28 |
application
MGCPAPP
Router(config-dial-peer)# application MGCPAPP
|
Initiates the MGCP protocol for the voice ports.
|
Step 29 |
exit
Router(config-dial-peer)# exit
|
|