I’m in the progress of configuring the DR scheme for the PBX system in a company. But I’ve got a problem with the configuration of a backup line to the carrier. The simplified scheme is in the attachment. The red line shows how the call is running to the carrier. The yellow line must be used when the ISP is not working on the Gateway 1 side.
The problem is how to use the backup trunk in the Inbound route. FreePBX lets me set up only one trunk as a destination. In a situation when ISP fails I have to change destination manually.
Have there any ways to use trunks order? Or maybe some other ways to automate this process.