Route incoming call based on state of unrelated extension

Hi Guys,

Just wondering if the following is possible.

I want to route an incoming call to extension 202 but only if extension 201 is available. I do not want 201 to ring as well as 202 which rules out using a call group with ringall-prim.

I guess I am looking for something similar to the time conditions module, but based on extension state instead.

Thanks

You might be able to use a queue. The queue would have only x201 and be set to skip busy agents. The fail over would be x202.