[Asterisk-Users] Queue() with timeout=0

Bart van Daal B.Vandaal at edpnet.net
Tue Jan 31 05:49:09 MST 2006


Hello,

i've recently switched over from 1.0.9 to 1.2.3. 
I've experienced some (to me) weird behaviour. 
This is the config for an example queue.conf:

[654]
wrapuptime=30
timeout=20
strategy=ringall
retry=5
queue-youarenext=queue-youarenext
queue-thereare=queue-thereare
queue-thankyou=queue-thankyou
queue-callswaiting=queue-callswaiting
music=default
monitor-join=yes
monitor-format=
maxlen=0
leavewhenempty=no
joinempty=no
context=
announce-holdtime=no
announce-frequency=45


extensions.conf

exten => 654,1,Answer
exten => 654,2,SetCIDName(${CALLERIDNAME})
exten =>
654,3,SetVar(MONITOR_FILENAME=/var/spool/asterisk/monitor/q${EXTEN}-${TIMEST
AMP}-${UNIQUEID})
exten => 654,4,Queue(654|t|||0) 
exten => 654,5,Goto(ext-queues,654,1) 



now when I place a call into the queue the agent times out after 20secs and
the dialplan executes the next
step instead of keeping the call into the queue for an unlimited time which
I thought a nul-value as the 
timeout variable would do (Queue(654|t|||0)).

Could anyone tell me if I can still use zero (0) as a value for unlimited in
the command Queue(654|t|||0).

thanks,
Bart



More information about the asterisk-users mailing list