[asterisk-bugs] [Asterisk 0012771]: Bogus <member> is still 'Not in Use' warnings for AgentLogin'ed agents.

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 12 05:58:32 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12771 
====================================================================== 
Reported By:                davidw
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12771
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.20.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             06-02-2008 09:57 CDT
Last Modified:              07-12-2008 05:58 CDT
====================================================================== 
Summary:                    Bogus <member> is still 'Not in Use'  warnings for
AgentLogin'ed agents.
Description: 
Asterisk seems to correctly know when an AgentLogin type agent is busy on a
call, however every time our agent gets a call, we get a message like:

WARNING[16777] app_queue.c: The device state of this queue member,
Anonymous, is still 'Not in Use' when it probably should not be! Please
check UPGRADE.txt for correct configuration settings.

We've tried to get good presence information from the SIP phones that are
logging in as the agents, but haven't found a recipe that does achieves
this for outgoing calls.  However, this should be irrelevant as it is the
Agent itself whose state matters, not that of the SIP phone.  Moreover, for
AgentLogin, the busy state on the phone wouldn't change for each call, but
would cover the whole logged in period.

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0012773 [patch] Agent doesn't propagate device ...
====================================================================== 

---------------------------------------------------------------------- 
 festr - 07-12-08 05:58  
---------------------------------------------------------------------- 
i've one crash and the last line from log was 

app_queue.c:3014 in try_calling: The device state of this queue member,
Agent/116, is still 'Not in Use' when it pr
obably should not be! Please check UPGRADE.txt for correct configuration
settings. 

(i've patched app_queue.c with czech localization and revision 125476)

backtrace of this core dump is wired, output of bt only showes

http://bugs.digium.com/view.php?id=0  0xb7f0e9e6 in
__pthread_mutex_unlock_usercnt () from
/lib/tls/libpthread.so.0
(gdb) bt
http://bugs.digium.com/view.php?id=0  0xb7f0e9e6 in
__pthread_mutex_unlock_usercnt () from
/lib/tls/libpthread.so.0
http://bugs.digium.com/view.php?id=1  0xb520cea8 in ?? ()

I've applied patch 20080711__bug12771.diff.txt and will monitor if device
state is ok and also for crashes. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-12-08 05:58  festr          Note Added: 0090141                          
======================================================================




More information about the asterisk-bugs mailing list