Play message if all agents in the queue are busy

Is there any way to do this?
I would like to have a message played without waiting if a caller ends in a queue with all agents busy…

Asterisk 1.6 with FreePBX 2.5

Thank you

Although I haven’t used them, I believe that the queue position messages are played immediately.

I am using Asterisk 13.6.0, and I am looking for this as well.

I would like to play a custom message to the caller if he enter in a queue where all members/agents are busy.

Use the QUEUE_MEMBER function to test if there is an agent available to handle the call in your dialplan before you enter the queue and play your message as needed.