11-23-2022 06:56 AM
Hi Tech People,
I have two Voice Gateways (A & B) & CUCM (Pub/Sub)
I have 2 PRI Lines with 500 Numbers from one Provider. Currently 2 PRI Lines are connected to Voice Gateway A. PRI 500 numbers are distributed in 2 PRI Lines.
i want to configure the failover or distribute the 2 PRI Lines in between two Voice Gateways (A & B)
1- can i connect the PRI Line 1 to Voice Gateway A & 2nd Line to Voice Router B (using trunk group). Example 250 Numbers in one Line and 250 Numbers in second line.
can any body share the best practices and guides to configuration above.
Thanks in advance.
11-23-2022 07:24 AM
A trunk group is local to the router, at least if you by "trunk group" is referring to the configuration element in IOS. If you mean a trunk group as in your service provider has configured your PRI's in a group that has no relevance to what router you connect the physical ISDN line to.
11-23-2022 07:36 AM
Hi Roger,
Thanks for your reply.
I mean, can we group the two PRI lines in two Voice gateways, if we connect physically one line to each Voice gateway and create SIP trunk using the Virtual IP. can you share your thoughts/experience on this type of implementation. Share also the cisco documents for implementation.
Thanks in advance.
11-23-2022 08:23 AM
To do this you would create two SIP trunks in CM, or whatever control protocol that you use. It does not have to be SIP, but is for sure the recommended option to use. Then you put these two trunks into a route group and set the Distribution Algorithm to either Circular or Top Down depending on what you want. Put this route group into an route list and then point your route patterns to this route list.
For both the SIP trunks and route list make sure that your set the check box for Run on all nodes. This is to get the best possible traffic pattern and resiliency.
In the gateway it is recommended to use a server group on the outbound dial peer to CM so that you don't need to maintain multiple dial peers. For detailed information on how to setup call routing in IOS have a look at this excellent document In Depth Explanation of Cisco IOS and IOS-XE Call Routing.
11-23-2022 06:55 PM
The recommended option is to use Sip, MGCP work well for such scenarios but its these days we dont recommend MGCP much.
When using SIP protocol for the gateway,
connect the line 1 to Gateway A, connect the line 2 to gateway B. On CUCM add trunks to Gateway A and B. you can add both gateways on are Route Group and use algorithm circular , an example mentioned below.
Or make two route group and add these route group under a route list ask below example.
In both case if one PRI line goes down , to send all the calls through the second gateway you need to use a work around which is
option 1:- on service parameter "Stop Routing on Unallocated Number Flag Required Field " make it True. this is not actually a solution but it is a work as making it true when you dial wrong numbers this gets applied.
option 2:- have a look on https://community.cisco.com/t5/ip-telephony-and-phones/cucm-gt-pri-gateway-over-sip-trunk-failover-when-pri-goes-down/td-p/2645889
MGCP
The failover will work well on MGCP as CUCM control the PRI Lines. So when one line goes down CUCM send all the calls through second PRI without any configurations changes if you have RG or RL configured as mentioned above.
11-23-2022 07:46 PM
Hi Nithin,
Thanks for your reply and suggesion:
can you eleborate,as this is a Active/standy implementation or active/active implementation. In such case the Call will route to Voice Gateway B once the 30 channels in PRI Line 1 get reached to 30 (in VG A).The call will route to secondary Voice Gateway for next available 30 Channels (PRI Line B)
secondly what will be the impact on the incoming call, the call will be route to secondary automatically incase of Primary VG Fails.
Thanks in advance
11-23-2022 10:32 PM - edited 11-25-2022 11:59 PM
Typically you would not use any overlay functionality for Active/Standby. The typical setup would be to configure each router as an independent gateway and let the functionality in CM take care of call distribution for outbound calls.
On your other question, inbound calls are handled by your service provider. It’s up to them to define what happens when a circuit is down. Normally they would configure the two circuits in a group and distribute calls amongst them. This would handle call distribution in the event one gateway or circuit is down.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide