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

Scott Griepentrog reviewboard at asterisk.org
Thu Jun 12 10:38:54 CDT 2014


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

(Updated June 12, 2014, 10:38 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 415833


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
-----

  /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/20140612/72e33d1a/attachment.html>


More information about the asterisk-dev mailing list