[asterisk-bugs] [JIRA] (ASTERISK-29994) chan_dahdi: Round robin array size is too small for max number of groups
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Thu May 5 09:46:43 CDT 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Asterisk Team updated ASTERISK-29994:
-------------------------------------
Target Release Version/s: 18.12.0
> 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
> Assignee: N A
> Target Release: 16.26.0, 18.12.0
>
>
> 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