Pretty much all call flow questions that take the form of, “I want to branch a call between X and Y depending on the value of Z” can be done with the Dynamic Routes module, including this one:
edit - there are also settings in the extension advanced tab for alternate destinations.