[asterisk-users] pickupgroup

Gergo Csibra csibra at gmail.com
Thu Aug 4 15:06:18 CDT 2011


Thursday, August 4, 2011, 9:35:50 PM, Dan wrote:

>>> Is there any technical reason for this 63 group limit?

>>Currently the number of callgroups/pickupgroups is limited to 63, because the variable type that holds the group bits is a long long.

> Ah, so it's a major change to get it to hold a larger number?

> I was hoping I could just change the following line:-
        
>         if ((x > 63) || (x < 0)) {

OMG.
Group bits means, there is a 64 bit long register, and for the
pickupgroup 1 is the first bit set, for the pg2 is the second and so
on. Imagine some extension can be in more than 1 pickupgroup. In this
situation more than 1 bit set in that variable. There's no x here.

-- 
Best regards,
 Gergo                            mailto:csibra at gmail.com




More information about the asterisk-users mailing list