[cisco-voip] Setting up an MGCP VGW

Jason Shearer jshearer at amedisys.com
Thu Dec 31 13:33:20 EST 2009


Here is another good line to add to an MGCP config (although not required to make it work).

mgcp ip qos dscp cs3 signaling

Keeps you from having to reclassify and mark your control traffic.  Other than that Lelio is on the right track.  The best thing you can do is read the command reference for the ccm and mgcp commands so you understand what everything actually does.  Remember if you are using SRST or CMEasSRST to add the following lines:

application
  global
  service alternate Default

This tells the router to use the “default” app (H.323) of the requested app (MGCP) is unavailable during fallback.

HTH,
Jason

From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Lelio Fulgenzi
Sent: Thursday, December 31, 2009 12:03 PM
To: Tim Huffman
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Setting up an MGCP VGW

The best thing to do is to use an existing MGCP gateway as an example, but here are some starting points. These are examples only, well, they're what I'm using. I'm sure someone will pipe up if I've steered you wrong. This does not include SRST.

 1.  Pick a name for your gateway. This is important because it is part of the registration process and is the one thing that will come back to bite you. Use the full name in CallManager including domain name if configured in the router. This is the "hostname" part of the config plus the domain part. Sorry, mine is not configured with domain, so I can't give you the IOS cmd for it.
 2.  Assuming you're using PRIs, select whether it's T1 or E1, the clocking, switch type, controller info

    *   card type t1 0 0
    *   network-clock-participate wic 0
    *   network-clock-select 1 T1 0/1/0
    *   isdn switch-type primary-4ess
    *   controller T1 0/0/0
 framing esf
 linecode b8zs
 pri-group timeslots 1-24 service mgcp
    *   interface Serial0/0/0:23
 no ip address
 encapsulation hdlc
 isdn switch-type primary-dms100
 isdn incoming-voice voice
 isdn bind-l3 ccm-manager
 no cdp enable

 1.  Configure a loopback so this interface is always up and you don't have to go reconfiguring things after:

    *   interface LoopbackVoice
 description Voice Network Loopback (SRST/Misc)
 ip address <ipaddr> <255.255.255.255>
 h323-gateway voip bind srcaddr <ipaddr> (optional for SRST)

 1.  Configure CCM information

    *   ccm-manager fallback-mgcp (optional for SRST)
    *   ccm-manager redundant-host <sub2ipaddr> <sub3ipaddr> (secondary subscribers)
    *   ccm-manager mgcp (tells the router to use MGCP)
    *   no ccm-manager fax protocol cisco (for modem/fax passthrough)
    *   ccm-manager config server <tftpipaddr> (configures TFTP server)
    *   ccm-manager config (this is the command that says "go get my config" - do this LAST! after everything else is done)

 1.  Configure MGCP information

    *   mgcp
    *   mgcp call-agent <sub1ipaddr> 2427 service-type mgcp version 0.1 (this is your primary subscriber)
    *   mgcp modem passthrough voip mode nse (required for modem/fax passthrough)
    *   mgcp fax t38 inhibit (again, required for modem/fax passthrough)
    *   mgcp bind control source-interface LoopbackVoice  (tells the router to use the loopback address)
    *   mgcp bind media source-interface LoopbackVoice (tells the router to use the loopback address)

I'm a little fuzzy on section five. Some of that stuff is re-written as the router downloads the MGCP configuration from CallManager as far as I know. Some can be configured manually. I never really got a straight answer from the TAC on that one.

I also noticed my switch type is different on my global switch type command vs my serial interface switch type. Not sure what happened there.


---
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
"Bad grammar makes me [sic]" - Tshirt


----- Original Message -----
From: "Tim Huffman" <thuffman at rosettastone.com>
To: cisco-voip at puck.nether.net
Sent: Thursday, December 31, 2009 9:17:03 AM GMT -05:00 US/Canada Eastern
Subject: [cisco-voip] Setting up an MGCP VGW


Does anyone have or know of any good documentation on how to setup an MGCP Voice Gateway from scratch?  I’ve been managing them for some time, but have never set one up from scratch.

Thanks,

Tim Huffman


_______________________________________________ cisco-voip mailing list cisco-voip at puck.nether.net https://puck.nether.net/mailman/listinfo/cisco-voip

________________________________
*** NOTICE--The attached communication contains privileged and confidential information. If you are not the intended recipient, DO NOT read, copy, or disseminate this communication. Non-intended recipients are hereby placed on notice that any unauthorized disclosure, duplication, distribution, or taking of any action in reliance on the contents of these materials is expressly prohibited. If you have received this communication in error, please delete this information in its entirety and contact the Amedisys Privacy Hotline at 1-866-518-6684. Also, please immediately notify the sender via e-mail that you have received this communication in error. ***
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20091231/0e8e3fab/attachment.html>


More information about the cisco-voip mailing list