We have two sites and at each site we have a voice gateway and a PRI. I want to set it up so that when the PRI at one site goes down, the call would be sent to the PRI at the other site. If that PRI is also down, then the call should go out the POTS line. I have 3 dial-peers configured with preferences. When I unplug the PRI at the site, instead of going out the second site's PRI it sends the call out the POTS line. If I unplug the POTS line, then the call is sent out the second PRI. Both gateways are H323. Debug voip dialpeer shows the second PRI and the POTS line match and the second PRI is listed first, but the call still goes out the POTS line.
Does anyone see what I have wrong?