To clarify, we currently have a carrier provided PRI that is terminated into a Cisco 3745. Right now we have 'isdn bind-l3 ccm-manager' enabled on that PRI, so signalling is backhauled to CUCM.
Let's say we want to connect a 3rd party PRI/analog gateway to break out analog lines. We want to TDM switch between the carrier provided PRI and the PRI connecting to our PRI/analog gateway so IP isn't involved.
Rather than backhaul the signalling to CUCM, I assume we can disable that feature. Then, use dial-plans to forward any analog calls back out the PRI to the PRI/analog gateway and then default the remaining calls to CUCM for control using 'service MGCPAPP' for the default POTS dial peer?
If you want every call that comes in from one of the PRIs to go out of the other PRI, you can do with this partitions and setting the calling search space of the PRI's in CUCM.
It may be easier to use H323 and just use dial peers on the router. When you use MGCP you will always have a VoIP call leg, even if the call is hairpinned through two analog circuits. With H323 you can go under 'voice card 0' and type 'local bypass' (this is the default). This will take the DSPs out of the call and will switch the audio directly from one circuit to another without the router getting involved. That's one implementation of switching.
If you're more concerned about the routing of calls, you can do it with H323 or MGCP. With the way that MGCP works with CUCM, backhauling is required. You will not be able to disable the backhauling and have the circuit still work. If you want the signaling to stay local to the router, you would need to implement a SIP/H323 dial peer plan on the router. The way you would do this is dependent on the dial plan.
What you can do is this:
-Set up the dial plans between the two PRIs with dial peers with the correct destination pattern and preferences
-Configure the gateway as a H323 gateway or SIP trunk in CUCM.
-Add a wildcard dial peer that points to CUCM via H323 or SIP for calls that are not supposed to be switched.
-Configure 'voice card 0' 'local bypass' to prevent altering the voice stream and using unnecessary DSPs
Thanks. What we're trying to do is connect a 3rd party TDM MUX to the router via a PRI so that for any FAX calls that come in over a PRI, we can TDM switch them to the TDM MUX, which then breaks them out to analog lines.
It sounds like the above will work for us. The thing we're battling next are CDR records so we can track LD usage of the calls that the router TDM switches. I know we can setup gateway CDR reporting, but I don't think that's going to give us all of the info that we need. Any thoughts?
If you use CUCM, you can use the CDR reporting there, otherwise you would want to implement gateway call accounting with RADIUS.
So just to be clear:
We're using a Cisco 2811 to terminate a PSTN PRI. We will have another PRI on the same NM-HDV2 module go to a channel bank (PRI as well). Only H.323 will be configured on the router so we can hairpin FAX calls directly to the channel bank. Remaining calls will go to CUCM.
We will see CDR's for the hairpinned calls in CUCM?
You can configure for any call that goes through CUCM to be reported in the CDR. This shouldn't be an issue. With H323, the only accounting you would need to configure any differently would be TDM switched calls that don't go through any CUCM routing.
I have another question regarding this that I couldn't figure out from the above:
If we have an MGCP gateway with signalling backhauled to CUCM, can we TDM hairpin the call? You mentioned there will be a VoIP call leg with MGCP. Does this mean that the call coming into 1 channel on a PRI and going out a channel on another PRI on the same NM-HDV2 card will or will not be TDM switched when MGCP is used?