[Asterisk-Users] Strange queue agent issue - Agent busy problem

Adam Goryachev mailinglists at websitemanagers.com.au
Tue Apr 26 18:46:09 MST 2005


On Tue, 2005-04-26 at 12:34 -0500, Daniel W. Halverson wrote:
> I'm trying to track down a problem.  We make pretty extensive use of 
> queues and use the agentcallbacklogin function to associate those queues 
> with a physical extension. 
> 
> For example, I have a  Zap extension associated to Extension 3009.  When 
> he logs in, "show agents" shows:
> 
> 3009         (<Username>) available at '3009 at from-internal' (musiconhold 
> is 'default')
> 
> He can now receive calls for any of the queues that he is associated 
> to.  The problem is if he makes an outgoing call, he does not show as 
> busy in "show agents."  If he gets a queue call, I get the following:
> 
> Apr 26 09:13:57 VERBOSE[16265] logger.c:     -- Executing 
> Queue("Zap/7-1", "operator|tT|||600") in new stack
> Apr 26 09:13:57 VERBOSE[16265] logger.c:     -- Started music on hold, 
> class 'default', on Zap/7-1
> Apr 26 09:13:57 DEBUG[16265] channel.c: Scheduling timer at 160 sample 
> intervals
> Apr 26 09:13:57 VERBOSE[16265] logger.c:     -- outgoing agentcall, to 
> agent '3009', on 'Local/3009 at from-internal-1bab,1'
> Apr 26 09:13:57 VERBOSE[16265] logger.c:     -- Called Agent/3009
> Apr 26 09:13:57 DEBUG[16265] channel.c: Generator got voice, switching 
> to phase locked mode
> Apr 26 09:13:57 DEBUG[16265] channel.c: Scheduling timer at 0 sample 
> intervals
> Apr 26 09:13:57 VERBOSE[16265] logger.c:     -- Executing 
> Macro("Local/3009 at from-internal-1bab,2", "exten-vm|3009|3009") in new stack
> Apr 26 09:13:57 VERBOSE[16265] logger.c:     -- Executing 
> SetVar("Local/3009 at from-internal-1bab,2", "FROMCONTEXT=exten-vm") in new 

Try pointing this login to a different context that doesn't have vm
enabled, ie, the only line would be:

[queue-extensions]
exten => 3009,1,Dial(Zap/122,20)

Then, it will only call for a max of 20 seconds, before jumping to the
next agent... And if this user is on a call (busy) then it will jump to
the next agent immediately. At least, that's the way I think it should
work.

Regards,
Adam

-- 
 -- 
Adam Goryachev
Website Managers
Ph:  +61 2 8304 0000                        adam at websitemanagers.com.au
Fax: +61 2 9345 4396                        www.websitemanagers.com.au




More information about the asterisk-users mailing list