понедельник, 6 мая 2013 г.

MGCP Configuration for Residential and Trunk Gateways

Some theory about Residential and Trunk Gateways and it relationship to MGCP

Residential Gateway - is a gateway, which is connected to PSTN throw analog ports, also which is directly connects simple analog ports via fxs and provides connection to Voip

Trunk Gateway - is a gateway, which is connected to PSTN throw digital connection, e.g T1 CAS, E1 R2, ISDN E1 PRI, ISDN T1 PRI and provides connection to Voip

Lets begin with configuraion of Trunk Gateways. In our topology we have - CUCM 8.5 (172.16.4.250) and CCME 2801 (172.16.4.5). CCME 2801 is connected to PSTN via ISDN E1 PRI and also via fxo ports

ccm-manager mgcp  ---->>> apply this command to work with CUCM
mgcp 2427 ---->>> enables MGCP on default port (can be entered only mgcp without port, cause 2427 is default udp port for MGCP)
mgcp call-agent 172.16.4.250 2427 service-type mgcp - ---->>> confige MGCP on CCME to work with CUCM

controller E1 0/1/0
 framing NO-CRC4 ---->>> configure framing type for E1
 clock source internal ---->>> configure clocking
 pri-group timeslots 1-31 type none service mgsp ---->>> and finally associate pri channels to be   controlled by mgcp
 description PSTN

On CUCM side is very simple to add MGCP gateway, just pass through Gateway - select gateway type - configure necessary information for MGCP

Finally - configuration of Residential Gateway

ccm-manager mgcp  ---->>> apply this command to work with CUCM
mgcp ---->>> enables MGCP on default port
mgcp call-agent 172.16.4.250 2427 service-type mgcp - ---->>> confige MGCP on CCME to work with CUCM
dial-peer voice 1002 pots
application mgcpapp  ---->>> enables specify dial-peer to be controlled by mgcp
port 0/0/0
dial-peer voice 1003 pots
application mgcpapp  ---->>> enables specify dial-peer to be controlled by mgcp
port 0/0/1
Also we can enable different capabilities to work in mgcp
mgcp package-capability dtmf-package

Комментариев нет:

Отправить комментарий