app_queue: Revert bad ringinuse=no patch.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 14 Dec 2012 21:35:44 +0000 (21:35 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 14 Dec 2012 21:35:44 +0000 (21:35 +0000)
commit0f54b3ee37b74be0941016b527a0e675d62e640b
tree0172e073042061b3b680e03a1a64c7030cd8fba0
parent1c2f27c4a97d28fa513286d1e5d6a5e0d074ef57
app_queue: Revert bad ringinuse=no patch.

With the option ringinuse=no set, the patch committed for ASTERISK-16115
causes non-SIP queue members to never be called because the device state
is checked after a channel is created to determine if the member is busy.
These queue members always get the "Member %s is busy, cannot dial"
message.

Most channel drivers other than chan_sip use the default device state
handling.  The default device-state state is considered in use or unknown
if the channel exists or not respectively.

(closes issue ASTERISK-20801)
Reported by: rmudgett
Patches:
      jira_asterisk_16115_revert_r370418_v1.8.patch (license #5621) patch uploaded by rmudgett
........

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

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

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

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