[asterisk-users] About maxlen parameter in queues
Daniel - Asterisk
earohuanca at gmail.com
Tue Feb 22 16:03:06 CST 2011
Finally I could get it to work by running a shell script which parsed
results from 'queue show' CLI command in dearch of 'Not in Use' members. It
was done with an AGI.
Regards,
Daniel
On Tue, Feb 8, 2011 at 11:52 AM, Carlos Chavez <cursor at telecomabmex.com>wrote:
> On Mon, 2011-02-07 at 10:44 -0500, Daniel - Asterisk wrote:
> > Hi Danny,
> >
> >
> > Could you please let me know what function do I use to get if the
> > queue is full?
> >
> >
> > Elder
> >
> > On Mon, Feb 7, 2011 at 10:42 AM, Danny Nicholas <danny at debsinc.com>
> > wrote:
> >
> > ______________________________________________________________
> > From: asterisk-users-bounces at lists.digium.com
> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
> > Daniel - Asterisk
> > Sent: Monday, February 07, 2011 9:38 AM
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > Subject: [asterisk-users] About maxlen parameter in queues
> >
> >
> >
> >
> >
> > Dear list,
> >
> >
> >
> >
> > I want to avoid sending calls to a queue when it is full. From
> > the fact that 'maxlen' must be at least 1 (I wish it could be
> > zero but it isn't) I'd like to know if there's a way to do it.
> > Setting the Queue() timeout to a little value is not the most
> > suitable option.
> >
> >
> > I'm using asterisk 1.4.21 but I don't know if there are some
> > options available on release 1.8
> >
> >
> >
> >
> >
> > Thanks,
> >
> >
> >
> >
> >
> >
> >
> >
> > Elder Arohuanca Lagos
> >
> >
> > t. 992728100
> >
> >
> >
> > This is a bit “hackish”, but why don’t you just make a context
> > that uses AGI to query the queue and only let the call proceed
> > if not full?
> >
> >
> >
> Maybe it would be easier to use the GROUP and GROUP_COUNT functions
> to
> see how many users are in the queue and decide on that. Although this
> really defeats the purpose of having a Queue.
>
>
> --
> Telecomunicaciones Abiertas de México S.A. de C.V.
> Carlos Chávez Prats
> Director de Tecnología
> +52-55-91169161 ext 2001
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110222/98d18215/attachment.htm>
More information about the asterisk-users
mailing list