Agents busy in queue

I want the callers don’t join in a queue when the agents are busy.
I suposse it is easy but i can’t get the solution for this.
Can you suggest me something?

look for joinempty and leavewhenempty options in queues.conf you might want to set ‘strict’ as their value.

Godson Gera
Asterisk Consultant Hyderabad