[cisco-voip] Setting up an MGCP VGW

Lelio Fulgenzi lelio at uoguelph.ca
Thu Dec 31 13:03:12 EST 2009


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 
    3. 
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) 
    4. 
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) 
    5. 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20091231/e2e0fcd1/attachment.html>


More information about the cisco-voip mailing list