For the outgoing SIP trunk all you need is max-conn 10 on the outgoing SIP dial peer.
From there, you can let CUBE route the call directly to the PRI without re-routing it back to CUCM. Just put the pots dial peer to preference 1 or higher - 0 is the default.
If you're only using CUCM, this would be a combination of a route-group and something called "Call Admission Control". It's kind of a detailed topic, so I would suggest some googling. CUBE would make this easier, yes. Among the other reasons to use CUBE.
We have the same situation, I plan to run SIP trunk between CUCM and CUBE, CUBE has both PRI to PSTN and SIP trunk to ITSP. Inbound PSTN calls are always routed to CUCM via MGCP. For outbound calls, can I simply route all outbound calls from CUCM to CUBE? or I should still configure SIP and MGCP gateway in CUCM's outbound call route-list with SIP trunk having higher precedence? the reason to do the latter is that if SIP trunk is not available (either the SIP trunk between CUCM and CUBE, or the SIP trunk between CUBE and ITSP, or both), we would still want to route outbound calls to PSTN, although the SIP trunk between CUCM and CUBE is highly unlikely to go down.
MGCP is a different case from H323. With SIP and H323, once the call is sent to the gateway it will make all the decisions. This isn't the case with MGCP, so all calls that go out of the MGCP PRI have to go through CUCM first. Meaning, if you would like to fail your SIP trunk back, it will need to go back to CUCM.
You would have both the MGCP gateway and SIP trunk defined in CUCM, and use Route Lists / Groups to define the redundancy.
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...