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 '[EMAIL PROTECTED]' (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}||[EMAIL PROTECTED])
exten => 123455,1,Dial(Agent/1306)

(SIP phone 1306 dials *11)

-- Executing AgentCallbackLogin("SIP/1306-d752", "1306||[EMAIL PROTECTED]") in new stack
 == Setting global variable 'AGENTBYCALLERID_1306' to '1306'
   -- Playing 'agent-loginok' (language 'en')
 == Callback Agent '1306' logged in on [EMAIL PROTECTED]
   -- 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

_______________________________________________
--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

Reply via email to