Here is my network setup. Remote site router configured as a MGCP gateway for local calls as well as CME using SRST fallback for emergency services. In normal operations LD calls traverse the WAN and utilize a dedicated T1 pri at a HQ location.
Here is my issue. An analog phone connected to a FXS port will use the local dial peer after a fail over has occured and returned to normal. The issue appears to be the order of the dial peers. Before failover the local pots dial peers were inserted after the MGCP dial peers. In this scenario LD calls placed from the analog set use the MGCP dial peers and LD calls are placed out of a centralized LD pri.
After failover and return to normal state, the order of the dial peers on the router are being reversed. I assume this is because the gateway has registered and the configuration, including the MGCP dial peers, has been pushed to the gateway. If I place a LD call at this point, the calls are routed out the local FXO ports because of pots dial peers that are used during failover.
Is this an issue or operating as designed? Should I be disabling ccm config to prevent this from happening or is there another way to prevent this scenario. Thanks