Archive for the ‘MGCP’ Category

MGCP Template

Posted: July 5, 2006 by cciestudy in MGCP, Template

mgcp
mgcp call-agent 10.1.1.1
mgcp ip qos dscp cs3 signaling
mgcp dtmf-relay voip codec all mode out-of-band

ccm-manager fallback-mgcp
ccm-manager redundant-host 10.100.1.50
ccm-manager mgcp
ccm-manager music-on-hold (if you need to stream moh locally from flash)

application
global
service alternate Default
dial-peer voice 10 pots
service mgcpapp
incoming called-number .
port 1/0:23
direct-inward-dial

Advertisements

CFwdAll with Overlap Send receive

Posted: June 15, 2006 by sankar in Gateways, IOS Gateways, MGCP

When OSR is enabled (for the 9. pattern), Cfwd all accepts only the digit 9 and call will be forwarded to 9. To avoid this configure a pattern 9.!, place that in a different partition and create a CSS with this partition in it.  Set the Cfwdall CSS on all ip phones to the newly created CSS.

Overlap send receive is used in certain countries like Germany. Overlap send receive is supported in QSIG based switch types.

To setup OSR, add a route pattern 9. with Allow Overlap Sending enabled. Select the qsig gateway that you added (6608, mgcp t1 gateway etc). When OSR is enabled, FAC and CMC are automatically disabled.

Debug isdn q931 will look like this. The number dialed is 2142142142 The PSTN simulator router waits for each digit to come by and then routes the call. Make sure on the PSTN router the following command is enabled.

interface Serial1/0/0:23
no ip address
isdn switch-type primary-qsig
isdn overlap-receiving
isdn protocol-emulate network
isdn incoming-voice voice
no cdp enable

Jun 15 02:01:24.129: ISDN Se1/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0001
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98384
Exclusive, Channel 4
Facility i = 0x9FAA06800100820100A11A020101020100801253796C7665737465722
05374616C6C6F6E65
Calling Party Number i = 0x0081, '5003'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '2' Plan:Unknown, Type:Unknown Jun 15 02:01:24.133: ISDN Se1/0/0:23 Q931: TX -> SETUP_ACK pd = 8 callref = 0x8
001
Channel ID i = 0xA98384
Exclusive, Channel 4
Jun 15 02:01:24.885: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '1'
Plan:Unknown, Type:Unknown
Jun 15 02:01:25.497: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '4'
Plan:Unknown, Type:Unknown
Jun 15 02:01:26.089: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '2'
Plan:Unknown, Type:Unknown
Jun 15 02:01:26.673: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '1'
Plan:Unknown, Type:Unknown
Jun 15 02:01:27.217: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '4'
Plan:Unknown, Type:Unknown
Jun 15 02:01:27.793: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '2'
Plan:Unknown, Type:Unknown
Jun 15 02:01:28.493: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '1'
Plan:Unknown, Type:Unknown
Jun 15 02:01:29.013: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '4'
Plan:Unknown, Type:Unknown
Jun 15 02:01:29.601: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '2'
Plan:Unknown, Type:Unknown
Jun 15 02:01:30.173: ISDN Se1/0/0:23 Q931: RX <- INFORMATION pd = 8 callref = 0
x0001
Called Party Number i = 0x80, '9'
Plan:Unknown, Type:Unknown
 

MGCP – Strip Trailing #

Posted: April 21, 2006 by cciestudy in MGCP, Route Patterns

Trailing# works only with the @ pattern.

Other discard digits like PreDot, PreAt etc works fine with any pattern, ex: 9.1[2-9]XX[2-9]XXXXXX

In CCM 4.1, you don’t need to define any discard digit rules to remove trailing#. CCM considers trailing # as interdigit timeout and to match the route pattern, but does not forward the # to the gateway.

6608 MGCP configuration

Posted: March 27, 2006 by sankar in 6608 gateway, Gateways, MGCP

To configure a 6608 blade to register with Callmanager, do the following,

a. Log into the 6500 switch and do a sh module to find the slot number in which 6608 is installed

b. Do a "set port voice interface help"

6500# (enable) set port voice interface help
Usage: set port voice interface #mod/port# dhcp enable [vlan #vlan#]
set port voice interface #mod/port# dhcp disable #ipaddrspec#
tftp #ipaddr# [vlan #vlan#]
[gateway #ipaddr#] [dns [ipaddr] [domain_name]]
(ipaddr_spec: #ipaddr# #mask#, or #ipaddr#/#mask#
#mask#: dotted format (255.255.255.0) or number of bits (0..31)
vlan: 1..4094
System DNS will be used if disabling DHCP without DNS parameters)

 For ex:

set port voice interface 7/2 dhcp disable 10.1.1.1/24 vlan #voicevlan# tftp 10.1.1.33 gateway 10.1.1.254 dns 10.1.1.2 cisco.com

or

set port voice interface 7/2 dhcp disable 10.1.1.1 255.255.255.0 vlan #voicevlan# tftp 10.1.1.33 gateway 10.1.1.254 dns 10.1.1.2 cisco.com

 c. Do a sh port <mod/port> and copy the mac-address of the port. Edit this in a notepad, and remove all
"-" (dashes).

 d. Use this mac-address to add a new gateway or add a new conf. bridge or transcoder.

MGCP and Translation rules

Posted: March 27, 2006 by cciestudy in MGCP

Translation rules applied in the dial-peer or voice port does not take effect when using MGCP

MGCP messages

Posted: February 19, 2006 by sankar in Gateways, MGCP

a. RSIP – Restart in Progress – When you reset a gateway this message is sent by gateway to CA.

b. AUEP and AUCX – Audit End point and Audit COnnection. – These messages are issued by the CA to the gateway. This is used to audit status of an endpoint and any connections associated with it.

c. CRCX, MDCX, DLCX – Create, Modify, Delete connection – Issued by CA to the gateway. CRCX is used to create a connection that terminates on the endpoint on the gateway. MDCX is used to modify parameters associated with the previously created connection. DLCX is used to delete an existing connection.

d. EPCF – End point configuration – Used by CA to send a configuration command to a gateway.

e. RQNT and NTFY – CA uses RQNT  (Request Notification) command to instruct the gateway to start monitoring for specific events such as hook actions or dtmf tones on a specified endpoint.

NTFY is used by gateway to inform the call-agent when the specified events take place.