[asterisk-users] About maxlen parameter in queues

Danny Nicholas danny at debsinc.com
Mon Feb 7 09:42:16 CST 2011


  _____  

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110207/dbe8db43/attachment.htm>


More information about the asterisk-users mailing list