Sei sulla pagina 1di 1

MGCP

Marcelo Zanata
MGCP Nomeclature

Supported Interfaces

MGCP Messages

Analog
FXS, FXO, FXO Battery Reversal
Digital
BRI, T1 CAS (E&M), T1 PRI/QSIG, E1 PRI/QSIG

CRCX Create Connection creates a conection


between two endpoints
RQNT Notification Request requests the gw to
send notifications upon specified events in endpoint
NTFY Notify sent by the gw in compliance with
RQNT when triggering events occurs
MDCX Modify Connection modified the local or
remote connection descriptor
DLCX Delete Connection sent by agent or
gateway, clear the connection
AUEP Audit Endpoint - used by call agent to find
out the status of a given endpoint
AUCX Audit Connection used by the call agent to
retrieve parameters of a connection
EPCF Endpoint Configuration specifies the
encoding of the signals that will be received by the
endpoint
RSIP Restart in Progress used by the gw to signal
that an endpoint is put in or out-of-service

Non supported Interfaces


Analog
E&M, Analog DID, CAMA 911
Digital
E1 R2,

Security
RTP SRTP and SRTCP
MGCP Tunnel over IPSec
Ports:
MGCP: UDP/ 2427, 2727
Q.931 backhaul: TCP/2428

MGCP Work

Registering an MGCP GW with


CallManager
Voice Gateway
CCM
TCP Session Established
RSIP
ACK
AUEP for 1st Endpoint
ACK with Endpoint Capabilities
AUEP for 2nd Endpoint
ACK with Endpoint Capabilities
RQNT for 1st Endpoint
ACK
RQNT for 2nd Endpoint
ACK

Call flow between Analog Phones


GW Local

CCM

Call flow with PRI circuit (backhaul)


GW Remote PSTN

RQNT
NTFY Off hook
RQNT Dial Tone, Collect Digits
NTFY Digits
CRCX
(bw/codec/qos/crypto/vad/echo/rsvp)

RQNT

Gateway
Q.921
Q.931 Setup

CCM
Q.931 to TCP 2428

Q.931 Setup
MGCP CRCX
MGCP ACK (with SDP)
Q.931 Call Proceeding
Q.931 Alerting
Q.931 Connect
MGCP MDCX
Q.931 Connect ACK
MGCP MDCX

CRCX
ACK (SDP)
ACK (SDP)
MDCX
RQNT
RQNT
NTFY Off-hook
MDCX
RTP
NTFY On-hook
DLCX
ACK (Call Stats)

DLCX
ACK (Call Stats)

MGCP Configuration

MGCP Configuration

The basic configuration, to enable MGCP

To enable DID calls to an MGCP gateway in failover

#mgcp
#mgcp call-agent [ip-address] [port] service-type mgcp
[version 0.1 | 1.0 | rfc3435-1.0]
#mgcp bind control source-interface Loopback0
#ccm-manager redundant-host [ip-address]
#ccm-manager redundancy switchback [graceful | immediate |
never | schedule-time | uptime-delay 1-1440]
#ccm-manager mgcp

#dial-peer voice 200 pots


#destination-pattern 9T
#incoming called-number .
#direct-inward-dial
#port 1/0/1

To the gateway download its configuration from CallManager, specify the


TFTP Server

#mgcp dtmf-relay voip codec [ all | low-bit-rate] mode


[cisco|nse|nte-ca|nte-gw|out-of-band]

#ccm-manager config server [ip-address]


#ccm-manager config

To bind some port to MGCP


#dial-peer voice 100 pots
#application MGCPAPP
#port 1/0/1

Configuring MGCP Fallback


#application
#global
#service alternate Default

Configure to MGCP PRI and BRI Backhaul


isdn bind-l3 ccm-manager

DTMF Relay

MGCP Troubleshooting
Debug/Troblueshooting
#show ccm-manager
#show mgcp

Potrebbero piacerti anche