Queue timeout

hello,

I’m looking for a solution to ring the queue for a maximum time of 15sec.
I’ve tried the following:
exten = _1234,1,Queue(commercial,rn,15)

Unfortunately the queue is still ringing forever…

thanks for your help

That looks correct to me. What do you have the dial plan set to do after that 15 seconds is up? What is the next line in your dial plan for

exten = _1234,2,…

I actually use AEL to do my queues but the concept is the same. This is how i do one of my support queues:

Queue(support,tT,360);
Playback(customersupport/dialout);
goto dialout|s|1;

i let it ring the queue for 360 seconds, then it plays a wav file letting the customer know they are being transfered, then it is sent to a macro that forwards the call to an answering service.

hello

the next line transfer the caller to a voicemail but looking at the CLI I never step to this command and the queue is ringing for the default timeout value (300sec)

thanks for help

The only thing that I could think of is maybe that 15 second time out is too short and asterisk won’t allow you to have that short of a time out. Have you tried increasing the timeout value to if you can get it to work?
Maybe try doubling it to 30 seconds or even 100 seconds.

[quote=“liliand”]hello,

I’m looking for a solution to ring the queue for a maximum time of 15sec.
I’ve tried the following:
exten = _1234,1,Queue(commercial,rn,15)

Unfortunately the queue is still ringing forever…

thanks for your help[/quote]

Not sure if this is it, but there is a typo in your example, need to us => and you don’t need to prepend the _ since you are not pattern matching.

exten => 1234,1,Queue(commercial,rn,15,)