Summary: | ASTERISK-06943: queue timeout with penalty avoid switching between agents | ||
Reporter: | Vincent Régnard (vregnard) | Labels: | |
Date Opened: | 2006-05-10 09:42:50 | Date Closed: | 2011-06-07 14:08:19 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Applications/app_queue |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When setting a queue timeout value smaller than the dial command timeout the queue process does not move to higher penalty agents if the dialed extension is not answered. app_dial exits with DIALSTATUS=CANCEL: If I set the queue timeout to a value higher than the dial timeout it works fine. In that later case app_dial exits with the xpected DIALSTATUS=NOANSWER and swithces to the higher penalty agents. ****** ADDITIONAL INFORMATION ****** May 10 14:11:52 VERBOSE[19133] logger.c: -- Executing Dial("Local/804@from-internal-799d,2", "IAX2/Ouane/055XXXXXX|20|trT") in new stack May 10 14:11:52 DEBUG[19133] chan_iax2.c: Made call 8 into trunk call 16384 May 10 14:11:52 VERBOSE[19133] logger.c: -- Called Ouane/055XXXXXX May 10 14:11:52 VERBOSE[19129] logger.c: -- Local/804@from-internal-799d,1 is ringing May 10 14:11:52 VERBOSE[6737] logger.c: -- Call accepted by XXX.XXX.XXX.XXX (format g729) May 10 14:11:52 VERBOSE[6737] logger.c: -- Format for call is g729 May 10 14:11:53 VERBOSE[19133] logger.c: -- IAX2/Ouane-16384 is making progress passing it to Local/804@from-internal-799d,2 May 10 14:11:53 DEBUG[6737] chan_iax2.c: Ooh, voice format changed to 256 May 10 14:11:54 VERBOSE[19133] logger.c: -- IAX2/Ouane-16384 is ringing May 10 14:12:08 VERBOSE[19129] logger.c: -- Nobody picked up in 15000 ms May 10 14:12:08 DEBUG[19133] chan_iax2.c: We're hanging up IAX2/Ouane-16384 now... May 10 14:12:08 VERBOSE[19133] logger.c: -- Hungup 'IAX2/Ouane-16384' May 10 14:12:08 DEBUG[19133] app_dial.c: Exiting with DIALSTATUS=CANCEL. and the same extension is dialed again and again indefinitely. My queue.conf is: [701] wrapuptime=15 timeout=25 strategy=roundrobin retry=10 queue-youarenext=queue-youarenext queue-thereare=queue-thereare queue-thankyou=queue-thankyou queue-callswaiting=queue-callswaiting music=default monitor-join=yes monitor-format= member=Local/804@from-internal,1 member=Local/801@from-internal,2 maxlen=5 leavewhenempty=yes joinempty=Yes context= announce-holdtime=no announce-frequency=180 The dial timeout is set to 20seconds for theses two extensions (804 and 801). | ||
Comments: | By: Serge Vecher (serge-v) 2006-05-19 14:07:25 vregnard: is this an issue in 1.2.7.1 or trunk ? By: Kevin P. Fleming (kpfleming) 2006-05-19 21:27:59 This is not a bug. There is no reason to set a timeout on the Dial operations being invoked from within app_queue, since it handles the timeouts itself. Doing so will only cause confusing behavior. |