[asterisk-bugs] [JIRA] (ASTERISK-29994) chan_dahdi: Round robin array size is too small for max number of groups
N A (JIRA)
noreply at issues.asterisk.org
Tue Mar 29 19:23:07 CDT 2022
N A created ASTERISK-29994:
------------------------------
Summary: chan_dahdi: Round robin array size is too small for max number of groups
Key: ASTERISK-29994
URL: https://issues.asterisk.org/jira/browse/ASTERISK-29994
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Channels/chan_dahdi
Affects Versions: 18.11.0
Reporter: N A
In chan_dahdi.conf, we have:
{noformat}
; Logical groups can be assigned to allow outgoing roll-over. Groups range
; from 0 to 63, and multiple groups can be specified. By default the
; channel is not a member of any group.
{noformat}
However, there is a typo in chan_dahdi.c:
{noformat}
/*! Round robin search locations. */
static struct dahdi_pvt *round_robin[32];
{noformat}
This actually needs to be 64, or otherwise only groups 0-31 work correctly with round robin, and 32+ don't work with round robin but work with "G" for instance.
This fixes this issue so that they are both consistent with allowing 64 groups (0-63).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list