[Asterisk-Users] Agents in 1.2.1

Gavin Hamill gdh at laterooms.com
Mon Jan 9 07:36:11 MST 2006


Hi, I've used Agents + Queues before with success, but I can't figure 
out why this trivial setup is not functioning...

stage*CLI> show agents
1306         (gdh) available at '1306 at internal' (musiconhold is 'default')
1 agents configured [1 online , 0 offline]

and the internal context is simply:

[internal]
exten => _13XX,1,Dial(SIP/${EXTEN},,h)

Now, taking this line...
exten => 123454,1,Dial(SIP/1306)

(Legacy PBX On Zaptel interface dials 123454)

    -- Starting simple switch on 'Zap/66-1'
    -- Accepting overlap call from '1010' to '123454' on channel 0/4, span 3
    -- Executing Dial("Zap/66-1", "SIP/1306") in new stack
    -- Called 1306
    -- SIP/1306-f498 is ringing
    -- Channel 0/4, span 3 got hangup request
  == Spawn extension (fromaxxess, 123454, 1) exited non-zero on 'Zap/66-1'
    -- Hungup 'Zap/66-1'

Great - the phone rings - hurrah! BUT... :O

exten => *11,1,AgentCallbackLogin(${CALLERIDNUM}||${CALLERIDNUM}@internal)
exten => 123455,1,Dial(Agent/1306)

(SIP phone 1306 dials *11)

    -- Executing AgentCallbackLogin("SIP/1306-d752", 
"1306||1306 at internal") in new stack
  == Setting global variable 'AGENTBYCALLERID_1306' to '1306'
    -- Playing 'agent-loginok' (language 'en')
  == Callback Agent '1306' logged in on 1306 at internal
    -- Playing 'vm-goodbye' (language 'en')
  == Spawn extension (fromip, *11, 1) exited non-zero on 'SIP/1306-d752'

(Legacy PBX On Zaptel interface dials 123455)

    -- Starting simple switch on 'Zap/66-1'
    -- Accepting overlap call from '1010' to '123455' on channel 0/4, span 3
    -- Executing Dial("Zap/66-1", "Agent/1306") in new stack
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Hungup 'Zap/66-1'

Why am I being told that 'everyone is busy' on this Agent, when it is 
clearly 'available', and calling the SIP device directly does work?

I'm assuming it's because of something I'm doing wrong, but I can't see 
what :(

gdh




More information about the asterisk-users mailing list