[asterisk-dev] [Code Review] 3595: app_queue: delayed state event can trigger leavewhenempty ringing too early

Scott Griepentrog reviewboard at asterisk.org
Tue Jun 10 09:43:21 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3595/
-----------------------------------------------------------

(Updated June 10, 2014, 9:43 a.m.)


Review request for Asterisk Developers.


Changes
-------

Simplified code, corrected spelling error.


Bugs: AST-1248
    https://issues.asterisk.org/jira/browse/AST-1248


Repository: Asterisk


Description
-------

If a single agent is available and doesn't answer the call, the state change from ringing to available can arrive after app_queue finds no agents available and kicks the caller out of the queue.

This change rechecks the agent's actual channel status to avoid that issue.


Diffs (updated)
-----

  /branches/1.8/apps/app_queue.c 415341 

Diff: https://reviewboard.asterisk.org/r/3595/diff/


Testing
-------

Tested by reporter.


Thanks,

Scott Griepentrog

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140610/b4dcbe4a/attachment.html>


More information about the asterisk-dev mailing list