[Asterisk-Users] Queue using iaxy agent fails?

Bill Petrisko billp at wjp.net
Thu Nov 18 00:04:32 MST 2004


Ok... so I set up a Queue and Agents.

Logging into the queue via a cisco 7960 (SIP) and
an IAXy.  Both log in just fine, but the IAXy never
gets calls.

queues.conf------

[comp-noc]
strategy = ringall
member => SIP/6234445657
member => Agent/@2              ; Any agent in group 2


agents.conf-------

[agents]
ackcall=no
group=2
agent => 6234445655,,agent 5655
agent => 6234445659,,agent 5659

extensions.conf-------

[sip-comp]
exten => 6234445654,1,Queue(comp-noc)
exten => 6234445654,2,Hangup

exten => 6234445655,1,Dial(IAX2/6234445655)
exten => 6234445657,1,Dial(SIP/6234445657)
exten => 6234445659,1,Dial(SIP/6234445659)


I can place regular calls to the IAXy 6234445655 just fine.

It shows both agents being logged in:

iptel2*CLI> show agents
6234445655   (agent 5655) available at '6234445655 at sip-comp' (musiconhold is 'default')
6234445659   (agent 5659) available at '6234445659 at sip-comp' (musiconhold is 'default')

iptel2*CLI> show queues
comp-noc     has 0 calls (max unlimited) in 'ringall' strategy (0s holdtime), C:1, A:1, SL:0.0% within 0s
   Members: 
      SIP/6234445657 has taken no calls yet
      Agent/@2 has taken 1 calls (last was 831 secs ago)
   No Callers

Yet, debug output never shows calls going to 5655--

iptel2*CLI> 
    -- Executing Goto("SIP/6234445657-cf77", "sip-comp|6234445654|1") in new stack
    -- Goto (sip-comp,6234445654,1)
    -- Executing Queue("SIP/6234445657-cf77", "comp-noc||||10") in new stack
    -- outgoing agentcall, to agent '6234445659', on 'Local/6234445659 at sip-comp-2d28,1'
    -- Called Agent/@2
    -- Executing Macro("Local/6234445659 at sip-comp-2d28,2", "sendsip-withvm|SIP/6234445659") in new stack
    -- Executing Wait("Local/6234445659 at sip-comp-2d28,2", "1") in new stack
    -- Called SIP/6234445657
    -- SIP/6234445657-8ef8 is ringing
    -- Executing Dial("Local/6234445659 at sip-comp-2d28,2", "SIP/6234445659|20|t") in new stack
    -- Called 6234445659
    -- SIP/6234445659-6ac2 is ringing
    -- Agent/6234445659 is ringing

Anyone have an idea why this isn't working, or any other things
I can look at to see what is/isn't really happening?

thanks
bill




More information about the asterisk-users mailing list