You can use setgroup and getgroupcount (deprciated for the function) and trigger an acton using the system Application
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Damon Estep > Sent: Monday, September 12, 2005 8:04 PM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [Asterisk-Users] monitor peak channel use > > Is there a way to trigger an action when a certain number of > zap channels are in use, or is there a variable that stores > max used channels that can be read? > > I use PRI for inbound calls, but outbound goes out via SIP, > so the simple solution does not work. > > I need to know when the potential exists for inbound calls > via PRI/Wildcard to be blocked because there are no more channels. > > Obviously asterisk would never know, since the call is > blocked at the Telco, or is there still d-chan activity? > > Anyone know of a way to do this? > > Thx. > > > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users