If I understand correctly, in #2, either the PRI port is shut or disconnected during your test, and at no time is the pri up while the gateway is registered?
If this is the case, then yes, this is behaving as expected. Remember, with MGCP, the PRI Q.931 traffic is being backhauled to Callmanager. So if the PRI is down, CCM can't use that port, and the gateway will effectively be down.
So the answer to your first question is that if the h323 gateway is down, the call should go to the mgcp.
The thing I see most often broken with with a single route pattern, pointing to a route-list that contains both h323 and mgcp gateways, is incorrect digit manipulation.
For example, for a pattern like 9.[2-9]xx[2-9]xxx, you would want to strip the 9 pre-dot before giving it to the the mgcp gateway, but you might not want to strip it before giving the call to the h323 gateway if the matching outbound dial-peer is 9......
Is it possible that this is the problem in your test?
SIP traces provide key information in troubleshooting SIP Trunks, SIP
endpoints and other SIP related issues. Even though these traces are in
clear text, these texts can be gibberish unless you understand fully
what they mean. This document attempts to br...
Please find the attached HTML document, download and open it on your PC.
This provides an easy to use form where you simply answer a few
questions and it will render the proper jabber-config.xml file for you
to copy/paste. There is built in logic to verif...
CUCM Database Replication is an area in which Cisco customers and
partners have asked for more in-depth training in being able to properly
assess a replication problem and potentially resolve an issue without
involving TAC. This document discusses the bas...