[Home]

Summary:ASTERISK-23138: queue_log agent is not consistent
Reporter:Zane Conkle (zconkle)Labels:
Date Opened:2014-01-14 13:23:00.000-0600Date Closed:2014-01-22 13:46:43.000-0600
Priority:MajorRegression?
Status:Closed/CompleteComponents:Applications/app_queue
Versions:12.0.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When logging in an agent with a membername the membername is not set as agent on the queue_log ADDMEMBER event; instead the dial string/interface is set. However any further actions with regards to that agent recognize the membername. Below is an example. Notice that login and other events have differing AGENT fields.


{code}
fs1*CLI> queue add member PJSIP/sip200 to sales_queue penalty 0 as agent_3
Added interface 'PJSIP/sip200' to queue 'sales_queue'

| 76 | 2014-01-14 19:05:32.276265 | CLI            | sales_queue | PJSIP/sip200 | ADDMEMBER      |                    
| 77 | 2014-01-14 19:05:38.338042 | 1389726338.98  | sales_queue | NONE         | ENTERQUEUE     | |+12147846514|1    
| 78 | 2014-01-14 19:05:41.813757 | 1389726338.98  | sales_queue | agent_3      | CONNECT        | 3|1389726338.99|3  
| 79 | 2014-01-14 19:05:47.077413 | 1389726338.98  | sales_queue | agent_3      | COMPLETEAGENT  | 3|6|1            
| 80 | 2014-01-14 19:05:51.327544 | 1389726351.100 | sales_queue | PJSIP/sip200 | REMOVEMEMBER   |                    
| 81 | 2014-01-14 19:05:55.013403 | 1389726355.101 | sales_queue | PJSIP/sip200 | ADDMEMBER      |                  
+----+----------------------------+----------------+-----------+----------------+----------------+-----------
{code}
Comments:By: Rusty Newton (rnewton) 2014-01-20 17:31:06.989-0600

Can you post your queues.conf file (as a .txt) ?

I'm wondering what your log_membername_as_agent option is set to.

{noformat}
; log_membername_as_agent will cause app_queue to log the membername rather than
; the interface for the ADDMEMBER and REMOVEMEMBER events when a state_interface
; is set.  The default value (no) maintains backward compatibility.
;
;log_membername_as_agent = no
{noformat}

By: Zane Conkle (zconkle) 2014-01-22 13:29:59.049-0600

That fixed it. Sorry, I didnt see that option. I wasn't looking under [general] though.