[asterisk-users] Call "stuck" in queue

Mitch Claborn mitch_ml at claborn.net
Wed May 1 14:06:47 CDT 2013


Mystery mostly solved.  One of the operators failed to log out of the 
queue when she went to lunch.  Because of the "leastrecent" strategy, 
when that operator was the least recent, it kept trying her until she 
was no longer least recent and then tried a different operator.

About to experiment with autopause and autopausedelay to see if that 
will help.


Mitch

On 05/01/2013 01:11 PM, Mitch Claborn wrote:
> Asterisk 11.1.0
>
> One queue with strategy=leastrecent. (Full queues.conf below.)
> Occasionally (several times today), a caller will get "stuck" in the
> queue - there are operators available to take the call, but the caller
> stays in the queue for a long time.  Any idea what might cause this, or
> where I can start looking to debug it?  I'm going to start digging
> through the queue log file after lunch and see what I can see, but this
> is all new territory for me.
>
> *queue show*
> sales has 1 calls (max unlimited) in 'leastrecent' strategy (27s
> holdtime, 181s talktime), W:0, C:3963, A:28, SL:0.0% within 0s
>     Members:
>        SIP/Eileen (ringinuse disabled) (dynamic) (Not in use) has taken
> 2 calls (last was 239 secs ago)
>        SIP/KWakmn (ringinuse disabled) (dynamic) (Not in use) has taken
> 1 calls (last was 502 secs ago)
>        SIP/Britne (ringinuse disabled) (dynamic) (Not in use) has taken
> 1 calls (last was 365 secs ago)
>        SIP/Kim (ringinuse disabled) (dynamic) (Not in use) has taken 2
> calls (last was 84 secs ago)
>        SIP/Charlie (ringinuse disabled) (dynamic) (In use) has taken 4
> calls (last was 1438 secs ago)
>        SIP/Carlene (ringinuse disabled) (dynamic) (In use) has taken no
> calls yet
>        SIP/Erin (ringinuse disabled) (dynamic) (Not in use) has taken 13
> calls (last was 1079 secs ago)
>        SIP/Phyllis (ringinuse disabled) (dynamic) (In use) has taken 6
> calls (last was 1052 secs ago)
>        SIP/JackieA (ringinuse disabled) (dynamic) (In use) has taken 12
> calls (last was 552 secs ago)
>        SIP/Peggy (ringinuse disabled) (dynamic) (In use) has taken 1
> calls (last was 822 secs ago)
>     Callers:
> *1. DAHDI/i1/9705541916-1507 (wait: 4:32, prio: 0)*
>
>
> *core show channels concise *
> SIP/KWakmn-0000181a!LocalSets!sales!1!Ringing!AppQueue!(Outgoing
> Line)!214!!!3!1!(None)!sip1-1367428777.13318
> DAHDI/i1/7812693000-1508!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!7812693000!!!3!277!SIP/Peggy-0000180c!sip1-1367428501.13296
> SIP/Erin-00001819!LocalSets!sales!1!Ringing!AppQueue!(Outgoing
> Line)!233!!!3!8!(None)!sip1-1367428769.13317
> DAHDI/49-1!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!8438080641!!!3!647!SIP/Charlie-000017fa!sip1-1367428130.13268
> SIP/Charlie-000017fa!LocalSets!sales!1!Up!AppQueue!(Outgoing
> Line)!236!!!3!616!DAHDI/49-1!sip1-1367428162.13271
> SIP/JackieA-00001814!LocalSets!sales!1!Up!AppQueue!(Outgoing
> Line)!277!!!3!124!DAHDI/51-1!sip1-1367428653.13310
> *DAHDI/i1/9705541916-1507!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!9705541916!!!3!319!(None)!sip1-1367428459.13293*
> DAHDI/50-1!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!6039445485!!!3!372!SIP/Phyllis-00001807!sip1-1367428406.13288
> DAHDI/i1/5153523240-150b!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!5153523240!!!3!46!(None)!sip1-1367428731.13314
> DAHDI/i1/5036635064-1503!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!5036635064!!!3!517!SIP/Carlene-00001809!sip1-1367428260.13279
> DAHDI/i1/7609539399-150c!queues!sales!7!Up!Read!MMSURVEY,custom/survey-ask,1,,,5!7609539399!!!3!27!(None)!sip1-1367428750.13316
> DAHDI/51-1!queues!sales!21!Up!Queue!sales,tc,,,,,,sub-QueueConnected!3038412549!!!3!158!SIP/JackieA-00001814!sip1-1367428619.13307
> SIP/Peggy-0000180c!LocalSets!sales!1!Up!AppQueue!(Outgoing
> Line)!229!!!3!239!DAHDI/i1/7812693000-1508!sip1-1367428539.13299
> SIP/Phyllis-00001807!LocalSets!sales!1!Up!AppQueue!(Outgoing
> Line)!213!!!3!338!DAHDI/50-1!sip1-1367428440.13290
> SIP/Carlene-00001809!LocalSets!sales!1!Up!AppQueue!(Outgoing
> Line)!232!!!3!302!DAHDI/i1/5036635064-1503!sip1-1367428475.13294
>
>
>
>
> *queues.conf*
> --------------
> [general]
> autofill=yes ; distribute all waiting callers to available members
> shared_lastcall=yes ; respect the wrapup time for members logged into
> more than one queue
>
> [StandardQueue](!) ; template to provide common features
> musicclass=default ; play [default] music
> strategy=leastrecent ; changed from rrmemory to leastrecent MLC 3/29/2013
> joinempty=no ; do not join the queue when no members available
> leavewhenempty=yes ; leave the queue when no members available
> ringinuse=no ; don't ring members when already InUse (prevents multiple
> calls to an agent)
> announce-frequency = 30
> min-announce-frequency = 15
> announce-holdtime = yes|no|once
> announce-position = limit
> announce-position-limit = 5
> announce-round-seconds = 10
> setinterfacevar = yes ; set some variables
> setqueueentryvar = yes ; some more variables
> setqueuevar = yes ; some more variables
> wrapuptime=2 ; wait 2 seconds before next call
> timeout = 16 ; try each operator for 12 seconds before moving to the
> next one
> autopause=no ; don't pause a member when they fail to answer a call
>
> [sales](StandardQueue) ; create the sales queue using the parameters in
> the StandardQueue template
>
>
>
> --
>
> Mitch
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                 http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>     http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list