[Home]

Summary:ASTERISK-12630: ringall and queues.conf timeout don't work if queue members are agents
Reporter:Thierry Randrianiriana (thierryr)Labels:
Date Opened:2008-08-22 08:25:20Date Closed:2011-06-07 14:02:48
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) full.log
Description:If the queue members are agents, the strategy ringall and the timeout set in queues.conf are ignored.

The ringing stops after the Dial timeout 60.
I don't have also the event RINGNOANSWER in queue_log

1219422241|NONE|NONE|NONE|QUEUESTART|
1219422349|1219422349.0|queue21|NONE|ENTERQUEUE||2001
1219422349|1219422349.0|queue21|Agent/23|CONNECT|0|1219422349.3
1219422410|1219422349.0|queue21|Agent/23|COMPLETEAGENT|0|61|1

Everything goes well if the queue members are SIP/xxx .








****** ADDITIONAL INFORMATION ******

agents.conf

agent => 21,21,Agent 21
agent => 22,22,Agent 22
agent => 23,23,Agent 23

queues.conf

[queue21]
context=default
timeout=15
retry=5
strategy=ringall
joinempty=yes
leavewhenempty=no
member => Agent/21
member => Agent/22
member => Agent/23
;member => SIP/2003
;member => SIP/2002

extensions.conf

[test_queue]

exten => 11,1,Answer()
exten => 11,n,AgentCallbacklogin(||${CALLERID(num)}@test_queue)
exten => 11,n,HangUp


exten => 00,1,Answer()
exten => 00,n,AgentCallbacklogin()
exten => 00,n,HangUp

exten => 80,1,Answer()
exten => 80,n,Queue(queue21|t|||120)
exten => 80,n,Hangup()

exten => _X.,1,Answer()
exten => _X.,n,Dial(SIP/${EXTEN}|60)
exten => _X.,n,Hangup()
Comments:By: Thierry Randrianiriana (thierryr) 2008-08-25 04:33:07

I can reproduce the bug in

svn branch: 1.4
svn revision : 139635

By: Mark Michelson (mmichelson) 2008-08-25 11:41:59

Try removing the Answer() line from extension _X in the dialplan and see if the issue persists.

By: Thierry Randrianiriana (thierryr) 2008-08-26 01:14:56

Wow , I missed that thing!
Sorry for this bug and thank you very much.
You can close this bug.

By: Mark Michelson (mmichelson) 2008-08-26 09:42:04

No problem. Thanks very much for posting your dialplan from the start. It made locating the problem much easier. :)