Setting queue max hold time

Hello!

any help would be nice on this topic.

when caller enters queue it should be possible of waiting in the queue for X amount of seconds, if caller has not been transfered to agent in x seconds, it should be going to next priority in dialplan. How can one set this up?

You probably have to use option “n”

[code]tenoraCLI> show application Queue
tenora
CLI>
-= Info about application ‘Queue’ =-

[Synopsis]
Queue a call for a call queue

[Description]
Queue(queuename[|options[|URL][|announceoverride][|timeout][|AGI]):
Queues an incoming call in a particular call queue as defined in queues.conf.
This application will return to the dialplan if the queue does not exist, or
any of the join options cause the caller to not enter the queue.
The option string may contain zero or more of the following characters:
‘d’ – data-quality (modem) call (minimum delay).
‘h’ – allow callee to hang up by hitting ‘’, or whatver disconnect sequence
defined in the featuremap section in features.conf.
‘H’ – allow caller to hang up by hitting '
’, or whatever disconnect sequence
defined in the featuremap section in features.conf.
‘n’ – no retries on the timeout; will exit this application and
go to the next step.
‘i’ – ignore call forward requests from queue members and do nothing
when they are requested.
‘r’ – ring instead of playing MOH
’t’ – allow the called user transfer the calling user by pressing ‘#’ or
whatever blindxfer sequence defined in the featuremap section in
features.conf
’T’ – to allow the calling user to transfer the call by pressing ‘#’ or
whatever blindxfer sequence defined in the featuremap section in
features.conf
’w’ – allow the called user to write the conversation to disk via Monitor
by pressing the automon sequence defined in the featuremap section in
features.conf
’W’ – allow the calling user to write the conversation to disk via Monitor
by pressing the automon sequence defined in the featuremap section in
features.conf
In addition to transferring the call, a call may be parked and then picked
up by another user, by transferring to the parking lot extension. See features.conf.
The optional URL will be sent to the called party if the channel supports
it.
The optional AGI parameter will setup an AGI script to be executed on the
calling party’s channel once they are connected to a queue member.
The timeout will cause the queue to fail out after a specified number of
seconds, checked between each queues.conf ‘timeout’ and ‘retry’ cycle.
This application sets the following channel variable upon completion:
QUEUESTATUS The status of the call as a text string, one of
TIMEOUT | FULL | JOINEMPTY | LEAVEEMPTY | JOINUNAVAIL | LEAVEUNAVAIL

tenora*CLI>
[/code]

the n option is the same as setting timeout in realtime queue table?