[Asterisk-Users] Error on using queue.

Lenz lenz-ml at loway.it
Fri Dec 2 02:40:32 MST 2005


You'll have to have agents join the queues by issuing the commands  
AgentLogin() or AgentCallBackLogin() from an extension in your dialplan.
l.



On Thu, 01 Dec 2005 17:53:19 +0100, gc <garych at unidial.com> wrote:

> Thanks. I made change to joinempty=yes. And now I can hear the music on  
> hold. But it would not ring the agent even if I login agent in. When I  
> run show queue command under CLI, I got these messages:
> queue1       has 1 calls (max unlimited) in 'ringall' strategy (0s  
> holdtime), W:0, C:0, A:2, SL:0.0% within 0s
>    Members:
>       Agent/5555555997 (Unavailable) has taken no calls yet
>       Agent/5555555998 (Unavailable) has taken no calls yet
> It seems that something wrong with my config file, it did not login any  
> agent.
>
>
>   ----- Original Message -----
>   From: Dov Bigio
>   To: Asterisk Users Mailing List - Non-Commercial Discussion
>   Sent: Thursday, December 01, 2005 8:33 AM
>   Subject: Re: [Asterisk-Users] Error on using queue.
>
>
>   If you are using 1.2, it might be the joinempty and leavewhenempty  
> parameters.
>   Their default are different than the 1.0.x releases
>     ----- Original Message -----
>     From: gc
>     To: Asterisk Users Mailing List - Non-Commercial Discussion
>     Sent: Thursday, December 01, 2005 11:27 AM
>     Subject: [Asterisk-Users] Error on using queue.
>
>
>     I am trying to use * as ACD server for our sip proxy.
>     I first dial 5555559999 to login 5555555598 as ACD agent it worked  
> fine and then when I dialed 5555555598, I got these messages from * CLI:
>
>         -- Executing Answer("SIP/5555555598-f718", "") in new stack
>         -- Executing Ringing("SIP/5555555598-f718", "") in new stack
>         -- Executing Wait("SIP/5555555598-f718", "2") in new stack
>         -- Executing Queue("SIP/5555555598-f718", "queue1") in new stack
>     Nov 30 16:54:12 WARNING[7579]: app_queue.c:3078 queue_exec: Unable  
> to join queue 'queue1'
>         -- Executing Hangup("SIP/5555555598-f718", "") in new stack
>       == Spawn extension (default, 5555555599, 5) exited non-zero on  
> 'SIP/5025155598-f718'
>
>     Can anybody tell me what cause this problem?
>     The followings are my configuration files:
>
>     extensions.conf:
>     [default]
>     ;For incoming call to ring into the queue.
>     exten=> 5555555599,1,Answer
>     exten=> 5555555599,2,Ringing
>     exten=> 5555555599,3,Wait(2)
>     exten=> 5555555599,4,Queue(queue1)
>     exten=> 5555555599,5,Hangup
>     ;Agent login
>     exten => 5555559999,1,AgentCallBackLogin(|${CALLERIDNUM}@default)
>     ;Agent logout
>     exten => 5555558888,1,AgentCallBackLogin(|1)
>
>     exten => 5555555597,1,Dial(SIP/5555555597)
>     exten => 5555555598,1,Dial(SIP/5555555598)
>
>     agents.conf:
>     [Agent1]
>     agent => 5555555597,1111,Gary1
>     agent => 5555555598,1111,Gary2
>
>     queues.conf:
>     [queue1]
>     musiconhold = default
>     strategy=ringall
>     timeout=15
>     retry=5
>     wrapuptime=0
>     maxlen = 0
>     announce-frequency = 0
>     announce-holdtime = no
>     member => Agent1/5555555997
>     member => Agent1/5555555998
>
>     sip.conf:
>     port=5060
>     bindaddr=192.168.111.11
>     context=default
>     allow=ulaw
>
>     [5555555597]
>     type=friend
>     username=5555555597
>     insecure=very
>     canreinvite=no
>     context=default
>     host=192.168.111.2
>
>     [5555555598]
>     type=friend
>     username=5555555598
>     insecure=very
>     canreinvite=no
>     context=default
>     host=192.168.111.2
>
>
>
>
>
>
>
>
>
>
>
> ----------------------------------------------------------------------------
>
>
>     _______________________________________________
>     --Bandwidth and Colocation provided by Easynews.com --
>
>     Asterisk-Users mailing list
>     To UNSUBSCRIBE or update options visit:
>        http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>
> ------------------------------------------------------------------------------
>
>
>   _______________________________________________
>   --Bandwidth and Colocation provided by Easynews.com --
>
>   Asterisk-Users mailing list
>   To UNSUBSCRIBE or update options visit:
>      http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
Loway Research - Home of QueueMetrics
http://queuemetrics.loway.it




More information about the asterisk-users mailing list