If a queue no answer, How to go to another queue?

exten => s,1,Background(Menu)
exten => 1,1,Queue(sales)
exten => 2,1,Queue(support)

I would like to do something like this

exten => s,1,Background(Menu)
exten => 1,1,Queue(sales) "if no answer go to queue(people)"
exten => 2,1,Queue(support) “if no answer go to queue(people)”

Someone could help me? Thank you

I have followed John tip and had to set joinempty=strict in queue.conf (was =no), and then if nobody in sales or support answer, go to people. However, after the first caller, the second go to people but the peer does not ring, and the console shows “app_queue.c:4232 can_ring_entry: SIP/xxx has another call trying, can’t receive call”.

There is 1 member active (peer) in people queue and THERE IS NO ANOTHER CALL… and console show that. I had to unregister the peer and register again to the peer rings again. What can be?

exten => 1,1,Queue(sales)
 same =>   n,Queue(people)

exten => 2,1,Queue(support)
 same =>   n,Queue(people)

Thanks johnkiniston, what about fix seconds to transfer to another queue? Regards

Just set the timeout on the queue.

Thanks John, I am a beginner.

The Asterisk book is a good starting point to learn some of this.

http://www.asteriskdocs.org/en/3rd_Edition/asterisk-book-html-chunk/index.html

I am reading! Thanks, so John, what about that question? (I have edited)

Look at configuring call limits on your sip peers, You usually do this by enabling the callcounter in sip.conf and setting the busylevel on your peers.

Then with ringinuse=no your queue should not try and ring your agents that are on the phone.