[asterisk-users] work around the 64 pickupgroups limit

Matt Riddell lists at venturevoip.com
Fri Mar 13 22:22:39 CDT 2009


On 14/03/2009 10:29 a.m., Doug wrote:
> At 16:10 3/10/2009, Matt Riddell wrote:
>   >On 7/03/2009 4:58 a.m., Klaus Darilion wrote:
>   >>  Hi!
>   >>
>   >>  What are the typical ways to work around the 64 groups limit?
>   >
>   >What we actually do is store a pickup group with a caller id.
>   >
>   >So the AsteriskDB has ${DB/pickup/${CALLERID(num)}} and we set
>   >pickupmark to the same.
>   >
>   >That way when someone dials 29 (what we use for pickup) it just checks
>   >that group - no limitations on number of groups that way.
>
> Hey Matt,
>
> Would share some config file code with us?

in the standard extension macro we add a line:

exten => s,n,Set(_PICKUPMARK=${DB(pickupgroup/${ARG1})})

Where ARG1 is the extension about to be called (i.e. 201)

When someone dials 29 to pickup:

exten => 29,1,Pickup(${DB(pickupgroup/${CALLERID(number)})}@PICKUPMARK)

So to make extension 201 in pickup group 1 just do:

asterisk -rx 'database put pickupgroup 201 1'

-- 
Kind Regards,

Matt Riddell
Director
_______________________________________________

http://www.venturevoip.com (Great new VoIP end to end solution)
http://www.venturevoip.com/news.php (Daily Asterisk News - html)
http://www.venturevoip.com/newrssfeed.php (Daily Asterisk News - rss)



More information about the asterisk-users mailing list