Help prevent ringing queue members from being rung when ringinuse set to no.
authorMark Michelson <mmichelson@digium.com>
Thu, 30 Aug 2012 18:39:16 +0000 (18:39 +0000)
committerMark Michelson <mmichelson@digium.com>
Thu, 30 Aug 2012 18:39:16 +0000 (18:39 +0000)
commitc3b5ec70acf3e953f747473b033adfdbc6511f5c
tree21f85eddf4ecf93c0b5faaf22f0b4eab7f59b8e4
parentacbe1f90e704680c0ae56c0303123fde696adad3
Help prevent ringing queue members from being rung when ringinuse set to no.

Queue member status would not always get updated properly when the member
was called, thus resulting in the member getting multiple calls. With this
change, we update the member's status at the time of calling, and we also
check to make sure the member is still available to take the call before
placing an outbound call.

(closes issue ASTERISK-16115)
reported by nik600
Patches:
app_queue.c-svn-r370418.patch uploaded by Italo Rossi (license #6409)
........

Merged revisions 372048 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 372049 from http://svn.asterisk.org/svn/asterisk/branches/10
........

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

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@372051 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_queue.c