Antonio Modesto
2012-Jul-06 15:15 UTC
[asterisk-users] Asterisk trying to call a queue with no members
Hi, I am trying to configure some static queues in asterisk, it's almost working, the problem is that asterisk is not verifying if the queue has logged members. For example, if I create queue called test, which has no members logged in, and try to place a call using Queue(test) I get into the queue, even if all phones are turned off, I tried to verify it with the QUEUE_MEMBER function, using the "ready" parameter, it shows me that all members are logged in. Here is my queues.conf: [general] persistentmembers = yes monitor-type = MixMonitor [default-queue](!) musicclass=default joinempty=yes leavewhenempty=no strategy=random timeout=10 retry=3 timeoutpriority=conf autofill=yes announce-position = yes ringinuse=no [recepcao](default-queue) member => SIP/100 member => SIP/101 member => SIP/102 I haven't showed the other queues because there is no need to do that. I've enabled sip qualifying in sip.conf, Must I do anything else to get it working properly? Thanks in advance. Regards.
Kevin P. Fleming
2012-Jul-06 16:09 UTC
[asterisk-users] Asterisk trying to call a queue with no members
On 07/06/2012 10:15 AM, Antonio Modesto wrote:> Hi, > > I am trying to configure some static queues in asterisk, it's almost > working, the problem is that asterisk is not verifying if the queue has > logged members. For example, if I create queue called test, which has no > members logged in, and try to place a call using Queue(test) I get into > the queue, even if all phones are turned off, I tried to verify it with > the QUEUE_MEMBER function, using the "ready" parameter, it shows me that > all members are logged in. Here is my queues.conf: > > [general] > persistentmembers = yes > monitor-type = MixMonitor > > [default-queue](!) > musicclass=default > joinempty=yesThis setting will cause Queue() to allow callers to join the queue even if the queue has no members. Since you are saying you don't want that, you should turn it off.> leavewhenempty=no > strategy=random > timeout=10 > retry=3 > timeoutpriority=conf > autofill=yes > announce-position = yes > ringinuse=no > > > > [recepcao](default-queue) > member => SIP/100 > member => SIP/101 > member => SIP/102You have statically defined the members of this queue, there is no 'logging in' required. The Queue() app does not try to determine whether the devices you list as members are currently connected to Asterisk or not. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org