Call's assign to agent in queue

Hi!
I was experimenting with the asterisk queues, and I would like you to perform the following function:

  • When I have a queued call (it is on hold) can assign it to an agent through AMI actions.
  • If it exceeds the time (4 minutes on hold) pass it to another function

Thank you very much in advance
Regards

For the time setting use the timeout option in the queue command, default is 300 secs.

Cant help you with the AMI actions. No knowledge in that area.