[Home]

Summary:ASTERISK-10299: MemberName not reported in QueueMember and AgentCalled management events
Reporter:Alexandre Snarskii (snar)Labels:
Date Opened:2007-09-14 10:16:13Date Closed:2007-09-14 13:16:15
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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).
Comments:By: Alexandre Snarskii (snar) 2007-09-14 10:18:51

patch for 1.4.11

By: Digium Subversion (svnbot) 2007-09-14 13:10:24

Repository: asterisk
Revision: 82396

------------------------------------------------------------------------
r82396 | mmichelson | 2007-09-14 13:10:23 -0500 (Fri, 14 Sep 2007) | 5 lines

Adding member name field to manager events where they were missing before

(closes issue ASTERISK-10299, reported by snar)


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

By: Digium Subversion (svnbot) 2007-09-14 13:16:15

Repository: asterisk
Revision: 82397

------------------------------------------------------------------------
r82397 | mmichelson | 2007-09-14 13:16:14 -0500 (Fri, 14 Sep 2007) | 13 lines

Merged revisions 82396 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82396 | mmichelson | 2007-09-14 13:28:36 -0500 (Fri, 14 Sep 2007) | 5 lines

Adding member name field to manager events where they were missing before

(closes issue ASTERISK-10299, reported by snar)


........

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