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

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Thu Jan 17 13:11:21 CST 2013


     [ https://issues.asterisk.org/jira/browse/ASTERISK-20690?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Mudgett updated ASTERISK-20690:
---------------------------------------

    Comment: was deleted

(was: Based on your analysis, I noticed that we are using the same res_odbc.conf database connection for all our real time entities.  This may be what is holding up the queue_log insert.  I will give it its own connection in res_odbc.conf.  
To answer your question, dialplan and queue_log are in the same database, along with static realtime agents, voicemails and musiconhold and finally along with realtime queues and queue_members.

The work around I plan to implement on this is as follows: The way I see it is that I have to make sure that the AgentLogin() application does not get called before I get an AGENTLOGOFF event for the previous connection for a particular agent.  My application that listens to the manager events (AMI) will insert/delete and entry in a table based on the AGENTLOGIN and AGENTLOGOFF events respectively. Upon an agent logging in, the Asterisk dialplan will make sure that no record exists in this table for the given agent, before I call the AgentLogin().  This should prevent the AGENTLOGIN coming before the  AGENTLOGOFF event.

The only thing I am assuming for this work around is that the AGENTLOGOFF manager event gets sent after all agent channel clean up has occurred. 


)
    
> 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, jira_asterisk_20690_combined_v10.patch, jira_asterisk_20690_mrg_up_v10.patch, jira_asterisk_20690_one_login_v10.patch, 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