[asterisk-users] work around the 64 pickupgroups limit

Doug Doug at NaTel.net
Mon Mar 16 15:10:41 CDT 2009


At 22:22 3/13/2009, Matt Riddell wrote:
 >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?


Hi Matt,

This looks great!  A few questions...
 >
 >in the standard extension macro we add a line:

Is this in extensions.conf?

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

Would this also be in extensions.conf?

 >
 >So to make extension 201 in pickup group 1 just do:
 >
 >asterisk -rx 'database put pickupgroup 201 1'

So this is a command line argument.  Can this
be automated?  Whenever we do a reload, can
this be stored?




 >
 >--
 >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)
 >
 >_______________________________________________
 >-- Bandwidth and Colocation Provided by http://www.api-digital.com --
 >
 >asterisk-users mailing list
 >To UNSUBSCRIBE or update options visit:
 >   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list