[asterisk-bugs] [JIRA] (ASTERISK-20690) Call gets stuck in Queue and all subsequent calls to the queue do not get delivered to available agents.

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Jan 15 17:14:45 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201575#comment-201575 ] 

Matt Jordan commented on ASTERISK-20690:
----------------------------------------

Thanks for the detailed analysis. It's still a bit murky as to who the culprit is, but based on your logs, there are two observations:
# There are some database transactions that appear to be exacerbating whatever issue you are seeing. When the agent logs off, an ODBC transaction occurs to update what I believe is the Queue log. This takes quite a long time, and it does in fact happen immediately before some cleanup and device state changes that affect the status of the agent channel. It's possible this is what is creating the skewed situation where the Agentlogoff takes a very long time, thereby preventing the full cleanup of the current Agent channel and the Agent pvt before the Agent attempts another login.
# Whether or not {{pbx_realtime}} is exacerbating this situation I'm not sure - however, it's possible it could be. Are the queue_log and the dialplan stored in the same database?
# It's not (unfortunately) terribly surprising that {{chan_agent}} would run into this, given it's threading issues. However, the calls out to external systems may be making this issue more likely to happen.

As it is, it's definitely a bug in at least {{chan_agent}}, albeit one that would be very difficult to reproduce.
                
> Call gets stuck in Queue and all subsequent calls to the queue do not get delivered to available agents.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: ASTERISK-20690
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20690
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_queue, PBX/pbx_realtime
>    Affects Versions: 10.8.0, 10.10.0
>         Environment: Centos 5.7    2.6.18-274.17.1.el5
>            Reporter: Jeff Hoppe
>            Assignee: Rusty Newton
>            Severity: Critical
>         Attachments: Agent Login and Logoff.pdf, Answers to Questions.pdf, callstuckinqueue_20121203.pcap, debug.22.gz, debug.23.gz, fulllog.txt, queues.conf, sip.conf, Stuck in queue debug.txt, Summary.txt
>
>
> A call will get stuck in the queue for some reason, the call does not actually exist anymore but Asterisk still thinks it does.  This call never gets sent to an agent and subsequent calls to the queue are never sent to available agents.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list