Files
asterisk/apps
Alec L Davis f8a37188f0 app_queue: 'agent available' hint, cleanup restart, and initial state
Fix previously untested senarios;

1). On queue initialisation set queue_avail devstate to INUSE.
    Previously was unavailable, which indicated an agent was available.

2). When removing members, if there are no other members available, set queue_avail to INUSE.
    Previously, if a member interface had become 'unavailable', they were never going to be removed, particularly when persistant queues is enabled.

3). When adding a member, check that they are available, if they are set queue_avail to NOT_INUSE.
 Previously on reloaded, members may have been 'unavailable'.

4). When pausing or unpausing a member, set appropriate queue availability. 

alecdavis (license 585)
Reported by: Alec Davis
Tested by: alecdavis

Review: https://reviewboard.asterisk.org/r/2129/
........

Merged revisions 373804 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@373805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-09-26 08:31:46 +00:00
..
2012-08-30 14:23:28 +00:00
2012-09-21 17:14:59 +00:00
2012-09-21 17:14:59 +00:00
2012-09-22 20:43:30 +00:00
2012-05-18 14:43:44 +00:00
2012-05-18 14:43:44 +00:00
2012-09-21 17:14:59 +00:00
2012-06-15 16:20:16 +00:00
2012-06-25 17:59:34 +00:00