Failover on inbound

Hello, This was asked some time over here Inbound Route Failover but no answer was given.

I have a Peer trunk connected directly to a local installed PBX as well as cloud call center studio.

What is supposed to happen is that calls from Call center studio, are routed to the locally installed FreePBX, which routes these calls out through an ISP peer trunk.

Now this basic configuration is work well, with my inbound destination set to trunks and my ISP trunk is selected as shown in the image attached…


…and this works, but I would like to configure a failover such that if that ISP trunk is down, the incoming call can be routed to another trunk automatically.

I already have the second ISP trunk configured, but have failed to figure out how to do the failover.

You help would be greatly appreciated