[asterisk-bugs] [JIRA] (ASTERISK-20801) Non-SIP queue members get no calls when ringinuse=no.
Richard Mudgett (JIRA)
noreply at issues.asterisk.org
Fri Dec 14 15:14:45 CST 2012
[ https://issues.asterisk.org/jira/browse/ASTERISK-20801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Mudgett updated ASTERISK-20801:
---------------------------------------
Description:
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.
{noformat:title=Pseudo code of breaking patch}
chan = ast_request();
...
update_status(qe->parent, tmp->member, get_queue_member_status(tmp->member))
if (tmp->member->status == busy)
ast_verb(1, "Member %s is busy, cannot dial", tmp->member->interface)
abort call to member
else
ast_call(chan)
{noformat}
was:
When 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.
{noformat:title=Pseudo code of breaking patch}
chan = ast_request();
...
update_status(qe->parent, tmp->member, get_queue_member_status(tmp->member))
if (tmp->member->status == busy)
ast_verb(1, "Member %s is busy, cannot dial", tmp->member->interface)
abort call to member
else
ast_call(chan)
{noformat}
> Non-SIP queue members get no calls when ringinuse=no.
> -----------------------------------------------------
>
> Key: ASTERISK-20801
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-20801
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_queue
> Affects Versions: 1.8.17.0, 10.9.0, 11.0.0
> Reporter: Richard Mudgett
> Assignee: Richard Mudgett
>
> 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.
> {noformat:title=Pseudo code of breaking patch}
> chan = ast_request();
> ...
> update_status(qe->parent, tmp->member, get_queue_member_status(tmp->member))
> if (tmp->member->status == busy)
> ast_verb(1, "Member %s is busy, cannot dial", tmp->member->interface)
> abort call to member
> else
> ast_call(chan)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list