[asterisk-bugs] [Asterisk 0017396]: When caller exits due to EXITEMPTY in app_queue EXITUNAVAIL is written to queue_log.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 6 14:31:24 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17396 
====================================================================== 
Reported By:                aragon
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17396
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-1527 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 265570 
Request Review:              
====================================================================== 
Date Submitted:             2010-05-25 10:28 CDT
Last Modified:              2011-04-06 14:31 CDT
====================================================================== 
Summary:                    When caller exits due to EXITEMPTY in app_queue
EXITUNAVAIL is written to queue_log.
Description: 
I have tested multiple versions of 1.4 and I have never seen EXITEMPTY
written to queue_log.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0017334 [patch] [regression] CDRs being written...
====================================================================== 

---------------------------------------------------------------------- 
 (0133470) aragon (reporter) - 2011-04-06 14:31
 https://issues.asterisk.org/view.php?id=17396#c133470 
---------------------------------------------------------------------- 
Yes I can still reproduce this in 1.4.41rc1

queues.conf
[default-sales]
music                          =  default
strategy                       =  rrmemory
servicelevel                   =  25
context                        = 
default-aa-servicemainmenubutton1englishsubmenu
timeout                        =  15
retry                          =  5
maxlen                         =  
weight                         =  0
reportholdtime                 =  no
reportwaitcall                 =  no
memberdelay                    =  0
timeoutrestart                 =  no
autofill                       =  yes
autopause                      =  no
ringinuse                      =  no
setinterfacevar                =  yes
wrapuptime                     =  
joinempty                      =  strict
leavewhenempty                 =  yes
eventwhencalled                =  vars
eventmemberstatus              =  yes
monitor-format                 =  wav49
monitor-type                   =  MixMonitor
queue-youarenext               =  queue-youarenext
queue-thereare                 =  queue-thereare
queue-callswaiting             =  queue-callswaiting
queue-holdtime                 =  queue-holdtime
queue-minutes                  =  queue-minutes
queue-seconds                  =  queue-seconds
queue-thankyou                 =  queue-thankyou
queue-lessthan                 =  queue-less-than

Extension 6002 dials queue extension 6500
Overflow rule does a hangup if no agent is logged to queue (EXITEMPTY)

lab*CLI> show queues
default      has 0 calls (max unlimited) in 'ringall' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 0s
   No Members
   No Callers

default-orde has 0 calls (max unlimited) in 'rrmemory' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 60s
   No Members
   No Callers

default-sale has 0 calls (max unlimited) in 'rrmemory' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 25s
   No Members
   No Callers

default-serv has 0 calls (max unlimited) in 'rrmemory' strategy (0s
holdtime), W:0, C:0, A:0, SL:0.0% within 10s
   No Members
   No Callers

[2011-04-06 15:28:00]     -- Executing [6500 at default-super:1]
Set("SIP/6002-00000024", "LOCAL_EXTEN=6500") in new stack
[2011-04-06 15:28:00]     -- Executing [6500 at default-super:2]
Gosub("SIP/6002-00000024", "all-local-extension|s|1") in new stack
[2011-04-06 15:28:00]     -- Executing [s at all-local-extension:1]
Set("SIP/6002-00000024", "__PICKUPMARK=6500") in new stack
[2011-04-06 15:28:00]  Extension Changed 6002[default-local] new state
InUse for Notify User 6002 
[2011-04-06 15:28:00]  Extension Changed 6002[default-local] new state
InUse for Notify User 6010 
[2011-04-06 15:28:00]  Extension Changed 6002[default-local] new state
InUse for Notify User 6001 
[2011-04-06 15:28:00]     -- Executing [s at all-local-extension:2]
GotoIf("SIP/6002-00000024", "0?4") in new stack
[2011-04-06 15:28:00]     -- Executing [s at all-local-extension:3]
Set("SIP/6002-00000024", "GROUP(OUTGOING)=6002") in new stack
[2011-04-06 15:28:00]     -- Executing [s at all-local-extension:4]
Set("SIP/6002-00000024", "OUTBOUND_GROUP_ONCE=6500 at INCOMING") in new stack
[2011-04-06 15:28:00]     -- Executing [s at all-local-extension:5]
GotoIf("SIP/6002-00000024", "1?8") in new stack
[2011-04-06 15:28:00]     -- Goto (all-local-extension,s,8)
[2011-04-06 15:28:00]     -- Executing [s at all-local-extension:8]
Return("SIP/6002-00000024", "") in new stack
[2011-04-06 15:28:00]     -- Executing [6500 at default-super:3]
Ringing("SIP/6002-00000024", "") in new stack
[2011-04-06 15:28:00]     -- Executing [6500 at default-super:4]
Goto("SIP/6002-00000024", "default-aa-followme-6500|s|1") in new stack
[2011-04-06 15:28:00]     -- Goto (default-aa-followme-6500,s,1)
[2011-04-06 15:28:00]     -- Executing [s at default-aa-followme-6500:1]
Set("SIP/6002-00000024", "GLOBAL(__SCREEN_EXTENSION)=DEFAULT_ONCALL_6500")
in new stack
[2011-04-06 15:28:00]   == Setting global variable '__SCREEN_EXTENSION' to
'DEFAULT_ONCALL_6500'
[2011-04-06 15:28:00]     -- Executing [s at default-aa-followme-6500:2]
Set("SIP/6002-00000024", "__FOLLOWME=YES") in new stack
[2011-04-06 15:28:00]     -- Executing [s at default-aa-followme-6500:3]
Set("SIP/6002-00000024", "QUEUE_PRIO=0") in new stack
[2011-04-06 15:28:00]     -- Executing [s at default-aa-followme-6500:4]
Gosub("SIP/6002-00000024", "default-application-acd-sales|s|1") in new
stack
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:1]
Set("SIP/6002-00000024", "AUDIOHOOK_INHERIT(MixMonitor)=yes") in new stack
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:2]
NoOp("SIP/6002-00000024", ""=== START QUEUE (default-sales) ==="") in new
stack
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:3]
Set("SIP/6002-00000024", "__QUEUENAME=default-sales") in new stack
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:4]
GotoIf("SIP/6002-00000024", "0?7") in new stack
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:5]
Set("SIP/6002-00000024", "MONITOR_FILENAME=1302118080.54") in new stack
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:6]
Goto("SIP/6002-00000024", "8") in new stack
[2011-04-06 15:28:00]     -- Goto (default-application-acd-sales,s,8)
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:8]
Set("SIP/6002-00000024", "TIMEOUT(digit)=1") in new stack
[2011-04-06 15:28:00]     -- Digit timeout set to 1
[2011-04-06 15:28:00]     -- Executing [s at default-application-acd-sales:9]
Set("SIP/6002-00000024", "TIMEOUT(response)=1") in new stack
[2011-04-06 15:28:00]     -- Response timeout set to 1
[2011-04-06 15:28:00]     -- Executing
[s at default-application-acd-sales:10] BackGround("SIP/6002-00000024",
"custom/0001") in new stack
[2011-04-06 15:28:00]     -- <SIP/6002-00000024> Playing 'custom/0001'
(language 'en')
[2011-04-06 15:28:02]   == Parsing '/etc/asterisk/manager.conf':
[2011-04-06 15:28:02] Found
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:11] Set("SIP/6002-00000024",
"__ACD_TO_OUTGOING=1") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:12] Set("SIP/6002-00000024",
"CHANNEL(musicclass)=default") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:13] Set("SIP/6002-00000024",
"__ALLOW_TRANSFER=twk") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:14] Set("SIP/6002-00000024",
"CALLERID(name)=SALES:Reception 6002") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:15] Queue("SIP/6002-00000024",
"default-sales|tH|||30|") in new stack
[2011-04-06 15:28:08] WARNING[22181]: app_queue.c:4304 queue_exec: Unable
to join queue 'default-sales'
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:16] NoOp("SIP/6002-00000024",
"JOINUNAVAIL") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:17] GotoIf("SIP/6002-00000024", "0?18:20")
in new stack
[2011-04-06 15:28:08]     -- Goto (default-application-acd-sales,s,20)
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:20] GotoIf("SIP/6002-00000024", "1?21:23")
in new stack
[2011-04-06 15:28:08]     -- Goto (default-application-acd-sales,s,21)
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:21] QueueLog("SIP/6002-00000024",
"default-sales|1302118080.54|NONE|ENTERQUEUE||6002") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:22] QueueLog("SIP/6002-00000024",
"default-sales|1302118080.54|NONE|EXITUNAVAIL|1|1|0") in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:23] GotoIf("SIP/6002-00000024", "0?24:26")
in new stack
[2011-04-06 15:28:08]     -- Goto (default-application-acd-sales,s,26)
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:26] GotoIf("SIP/6002-00000024", "0?1000")
in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:27] GotoIf("SIP/6002-00000024", "0?1000")
in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:28] GotoIf("SIP/6002-00000024", "0?1000")
in new stack
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:29] GotoIf("SIP/6002-00000024", "1?1000")
in new stack
[2011-04-06 15:28:08]     -- Goto (default-application-acd-sales,s,1000)
[2011-04-06 15:28:08]     -- Executing
[s at default-application-acd-sales:1000] Hangup("SIP/6002-00000024", "16") in
new stack
[2011-04-06 15:28:08]   == Spawn extension (default-application-acd-sales,
s, 1000) exited non-zero on 'SIP/6002-00000024'
[2011-04-06 15:28:08]     -- Executing [h at default-application-acd-sales:1]
Goto("SIP/6002-00000024", "all-hangup|s|1") in new stack
[2011-04-06 15:28:08]     -- Goto (all-hangup,s,1)
[2011-04-06 15:28:08]     -- Executing [s at all-hangup:1]
GotoIf("SIP/6002-00000024", "0?all-faxnotify|s|1:2") in new stack
[2011-04-06 15:28:08]     -- Goto (all-hangup,s,2)
[2011-04-06 15:28:08]     -- Executing [s at all-hangup:2]
ResetCDR("SIP/6002-00000024", "w") in new stack
[2011-04-06 15:28:08]     -- Executing [s at all-hangup:3]
NoCDR("SIP/6002-00000024", "") in new stack
[2011-04-06 15:28:08]  Extension Changed 6002[default-local] new state
Idle for Notify User 6002 
[2011-04-06 15:28:08]  Extension Changed 6002[default-local] new state
Idle for Notify User 6010 
[2011-04-06 15:28:08]  Extension Changed 6002[default-local] new state
Idle for Notify User 6001

Last lines from /var/log/asterisk/queue_log
1302117912|1302117904.51|default-sales|NONE|ENTERQUEUE||6002
1302117912|1302117904.51|default-sales|NONE|EXITUNAVAIL|1|1|0 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-04-06 14:31 aragon         Note Added: 0133470                          
======================================================================




More information about the asterisk-bugs mailing list