[asterisk-bugs] [Asterisk 0010721]: MemberName not reported in QueueMember and AgentCalled management events

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Sep 14 10:18:51 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10721 
====================================================================== 
Reported By:                snar
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10721
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-14-2007 10:16 CDT
Last Modified:              09-14-2007 10:18 CDT
====================================================================== 
Summary:                    MemberName not reported in QueueMember and
AgentCalled management events
Description: 

In preparation to move our call queues from 'classic' AgentCallbackLogin
to more advanced dynamic queue membership
(doc/queues-with-callback-members.txt)
I found that member name set with AddQueueMember not reported in
QueueMember
and AgentCalled events. 

For example, after adding agent with 
AddQueueMember(support||||Agent/1001)
I'm getting next events, reporting that the call is going to SIP/5464,
but not mentioning that this agent called Agent/1001

Event: QueueMember
Queue: support
Location: SIP/5464
Membership: dynamic
Penalty: 0
CallsTaken: 1
LastCall: 1189777057
Status: 1
Paused: 0

Event: AgentCalled
Privilege: agent,all
AgentCalled: SIP/5464
ChannelCalling: SIP/81.9.100.4-08894000
CallerID: 4381100                      
CallerIDName: 
Context: eltel
Extension: support
Priority: 1

Well, fix is obvious :) MemberName is mem->membername in case of
QueueMember,
and is tmp->member->membername in case of AgentCalled (not sure that my
license
is OK to upload patches). 

====================================================================== 

---------------------------------------------------------------------- 
 snar - 09-14-07 10:18  
---------------------------------------------------------------------- 
patch for 1.4.11 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-14-07 10:18  snar           Note Added: 0070537                          
======================================================================




More information about the asterisk-bugs mailing list