Replicating Call Routing in FreePBX as is current Mitel Intelligent Router

The Dynamic Routes module allows you to provide this type of service. That module is free to download and use. This thread can be helpful: Using Dynamic Routes for Call Flow Control