Thanks!
Tim Huffman
Sent: Thursday, December 31, 2009 1:33 PM Cc: cisco-voip@puck.nether.net
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
Sent: Thursday, December 31, 2009 12:03 PM Cc: cisco-voip@puck.nether.net
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 h323-gateway voip bind srcaddr (optional for SRST)
1. Configure CCM information
* ccm-manager fallback-mgcp (optional for SRST) * ccm-manager redundant-host (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 (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 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.