Disconnect on no agents

A quick question for everybody who is working with outbound solution: I am interested in dropping the calls if there are no agents available to receive the call. OC server should drop a call after a callee answers and OC server determines that there are no agents to handle that call. How can I do it?

Thank you very much in advance!