[asterisk-bugs] [Asterisk 0012970]: Agent Status and outgoing calls

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 30 10:25:47 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12970 
====================================================================== 
Reported By:                edugs15
Assigned To:                mmichelson
====================================================================== 
Project:                    Asterisk
Issue ID:                   12970
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.21 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-07-01 09:46 CDT
Last Modified:              2009-03-30 10:25 CDT
====================================================================== 
Summary:                    Agent Status and outgoing calls
Description: 
Hello, 

I'm using Asterisk 1.4.21 e bellow I describe my problem : 

I've got a Call Center, with 30 agents running X-lite (I use
AgentCallbackLogin). 
These agentes make outgoing calls and receive incoming calls as well
(incoming calls from queues). 
When they are making calls, queues don't recognize agent status (still
remains Not in use), and then Asterisk tries to send calls from queues to
these agents. 

I've configured ringinuse = no,  call-limit in sip.conf (=1, type =
friend), and this is enough to avoid that these agents receive a call
ringing in the softphone's second line. This is ok. 

But call-limit is not enough to stop Asterisk from trying to send calls to
an agent, when this agent is making an outgoing call, or talking to another
agent, and so on. So Asterisk tries to send a call, then notes call-limit,
and only then tries another agent, after timeout. 

I have tried hints and subscriptions, but queues don't recognize hints. 

Asterisk doesn't try to send a call to an agent, only it this agent is
paused, or already talking to a caller from queues. 

Asterisk tries to send calls to agents even if they are :

- Making outgoing calls
- Talking to another agent
- Using Chanspy to monitor another agent
- Talking to a caller from a DID call (Direct Inward Dialing)


Is there a way by which I can get app_queue to set busy in these
conditions, so that I can stop Asterisk from trying to send a call to
agents ? 



Thanks.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012958 Queue members as SIP/XXXX do not update...
related to          0013481 Agent state not updating using both dyn...
related to          0012492 State problems on queues with Direct an...
====================================================================== 

---------------------------------------------------------------------- 
 (0102389) svnbot (reporter) - 2009-03-30 10:25
 http://bugs.digium.com/view.php?id=12970#c102389 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 184989

_U  branches/1.6.0/

------------------------------------------------------------------------
r184989 | mmichelson | 2009-03-30 10:25:45 -0500 (Mon, 30 Mar 2009) | 33
lines

Blocked revisions 184986 via svnmerge

................
  r184986 | mmichelson | 2009-03-30 10:25:04 -0500 (Mon, 30 Mar 2009) | 27
lines
  
  Blocked revisions 184980 via svnmerge
  
  ........
    r184980 | mmichelson | 2009-03-30 10:23:59 -0500 (Mon, 30 Mar 2009) |
22 lines
    
    Backport state interface changes to app_queue from trunk.
    
    After several issues raised on the Asterisk bugtracker against
    the 1.4 branch were determined to be fixable with the state interface
    change available in the 1.6.X series, it finally came time to just
    suck it up and backport the change.
    
    For a detailed explanation of what this change entails, the original
    trunk commit for this feature may be found here:
    
    http://svn.digium.com/view/asterisk?view=revision&revision=97203
    
    In addition, the details for the use of this change to fix the
problems
    stated in issue http://bugs.digium.com/view.php?id=12970 may be found in the
review request I made for
    this change. It is linked below.
    
    (closes issue http://bugs.digium.com/view.php?id=12970)
    Reported by: edugs15
    
    Review: http://reviewboard.digium.com/r/116
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=184989 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-30 10:25 svnbot         Checkin                                      
2009-03-30 10:25 svnbot         Note Added: 0102389                          
======================================================================




More information about the asterisk-bugs mailing list