[Asterisk-Dev] group number limitation

Paradise Dove pardove at gmail.com
Tue Jan 11 10:26:16 MST 2005


it seems  that the group number used for  channel group, call group
and pickup group is limited to 32 groups (0~31) which is handeled  by
ast_get_group function.
my question is:
- is there any reason to limiting this to 32?
- in order to increasing the group number limitation, is it enough to
change the following line in channel.c?
channel.c:3060:                 if ((x > 31) || (x < 0)) {
-  isn't better to change the mentioned line to a better form?
something like this:
channel.c:3060:                 if ((x > MAXGROUP_NUMBER ) || (x <
MINGROUP_NUMBER)) {

- Paradise Dove



More information about the asterisk-dev mailing list