[asterisk-users] Asterisk Queues problem

Mark Michelson mmichelson at digium.com
Fri Aug 1 09:02:36 CDT 2008


Syed Nasruddin wrote:
>  
> 
> Hi,
> 
>  
> 
> I have Asterisk 1.4.18 and I have been running call center queues on it. 
> Today it suddenly stopped adding inbound calls to queues. I am facing 
> with following error:                       _app_queue.c:3939 
> queue_exec: unable to join queue “myqueue”_
> 
>  
> 
> In extension file:
> 
>                                           Queue(myqueue|t|||120)
> 
>  
> 
> And my agents are joining in following manner:
> 
>                                            Exten => 
> 1001,1,AgentLogin(SIP/1001)
> 
>                                            Exten => 
> 1000,1,AgentLogin(SIP/1000)
> 
>              
> 
> One more thing my asterisk successfully captures the call , it plays 
> music on hold but when it starts to push the call in queue it gives out 
> this error.
> 
>  
> 
> Any one help me out. It’s a production machine.
> 
>  
> 
> Thanks
> 
>  
> 
> Syed nasr
> 

When diagnosing this sort of issue, it is a good idea to check the value of 
QUEUESTATUS to see why the caller could not enter the queue.

The most common reason for a caller to not join the queue is because 
joinempty=no is set in queues.conf (if you do not have joinempty set at all, 
then it defaults to no). This setting causes callers attempting to join a queue 
to not be able to if the queue is empty or if all the queue members are paused 
or have an "invalid" device state.

Another possibility is that you have a maximum length set on the queue and so no 
more callers can join because the queue is full.

My suggestion is to see what the QUEUESTATUS is. If the status is JOINEMPTY, 
then you can issue a "queue show" command on the CLI to see what the current 
states of your queue members are. It may be as easy to fix as setting 
joinempty=yes in queues.conf. If the status is something else, though, then a 
different fix may be in order instead.

Mark Michelson



More information about the asterisk-users mailing list