[Asterisk-Users] manager API / weird queue

Samuel T. Cossette digium at muel.org
Fri Dec 31 14:19:19 MST 2004


Hi,

I'm playing with the agent/queue system. Everything work well with v1.0.3.
but I want the 'Action: Agents' in the manager API that is only on the CVS
version. So i switched to, but now the Queue/Agent system barely work. (my
agent don't get the call)

Where I can get a 'stable' CVS version?

Or maybe, how I can solve my Queue/Problem? here is the detail:

1. I can login as an Agent with that extension:
[cc-queues]
; nos queues
exten => s,1,Answer
exten => s,2,Queue(queue1)
exten => s,3,Hangup

asterisk console log:
    -- Executing AgentLogin("SIP/samuel-b5fd", "11") in new stack
Urgent handler
    -- Playing 'agent-pass' (language 'en')
Urgent handler
    -- Playing 'agent-loginok' (language 'en')
Urgent handler
    -- Started music on hold, class 'default', on SIP/samuel-b5fd
Urgent handler
  == Agent '11' logged in (format ulaw/slin)
Urgent handler

2. Next step, I generate a call in the spool/outgoing

 cp anwser.call /usr/asterisk/var/spool/asterisk/outgoing/rwerewewr

content of my call file:
 Channel: IAX2/guest at localhost:5036/1555252532442422
 MaxRetries: 0
 Application: Queue
 Data: queue1

note: that dial an extension with the SayDigits(${EXTEN}) application.
(just to hear something)

asterisk console output:
    -- Attempting call on IAX2/guest at localhost:5036/1555252532442422 for
application Queue(queue1) (Retry 1)
Urgent handler
Urgent handler
Urgent handler
    -- Accepting unauthenticated call from 127.0.0.1, requested format =
64, actual format = 64
Urgent handler
    -- Call accepted by 127.0.0.1 (format slin)
    -- Format for call is slin
Urgent handler
    -- Executing Answer("IAX2/guest at 127.0.0.1:5036/3", "") in new stack
Urgent handler
Urgent handler
Dec 31 16:20:24 WARNING[22251]: app_queue.c:2094 queue_exec: Unable to
join queue 'queue1'
Urgent handler
Dec 31 16:20:24 NOTICE[22218]: chan_iax2.c:1391 iax2_destroy: Avoiding IAX
destroy deadlock
    -- Hungup 'IAX2/127.0.0.1:5036/1'
Urgent handler
    -- Executing SayDigits("IAX2/guest at 127.0.0.1:5036/3",
"555252532442422") in new stack
Urgent handler
    -- Playing 'digits/5' (language 'en')
Urgent handler
    -- Hungup 'IAX2/guest at 127.0.0.1:5036/3'
Urgent handler
Dec 31 16:20:24 NOTICE[22251]: pbx_spool.c:244 attempt_thread: Call
completed to IAX2/guest at localhost:5036/1555252532442422

thanks!

Samuel T. Cossette
samuel at levinux.org, 1.418.8o2.784o
<< Well, that's for me to know and you to find out. >> Jeffrey, Blue Velvet




More information about the asterisk-users mailing list