[asterisk-users] pickupgroup

Dan Journo dan at keshercommunications.com
Thu Aug 4 15:17:16 CDT 2011


>>>> 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.


Gergo, i'm not sure what it's got to do with G-d, but I copied and pasted that directly from the asterisk source code that deals with call pickup.
Thanks for your reply though. It was really helpful. :-S



More information about the asterisk-users mailing list