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

Scott Griepentrog reviewboard at asterisk.org
Wed Jun 11 09:09:49 CDT 2014


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

(Updated June 11, 2014, 9:09 a.m.)


Review request for Asterisk Developers.


Changes
-------

Applied review suggestions post embarrassment.


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/20140611/7b0fe6a8/attachment.html>


More information about the asterisk-dev mailing list