[Home]

Summary:ASTERISK-01683: AddQueueMember command doesn't support penalty flags
Reporter:moorejon (moorejon)Labels:
Date Opened:2004-05-23 22:25:11Date Closed:2011-06-07 14:05:12
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When adding members to a queue using the AddQueueMember command there is no way to set the penalty flag for the user.
Comments:By: Brian West (bkw918) 2004-05-23 22:51:25

AddQueueMemeber isn't setup to allow that. Its a chan_agent feature.  You must use change agent for all these features.

bkw
PS repost your other bug.. I clicked the wrong button  :(  sorry

By: Brian West (bkw918) 2004-05-23 22:52:54

Also the other bug was related to usage of chan_agent.  Those features are only supported when using chan_agent.

bkw

By: Brian West (bkw918) 2004-05-23 22:58:52

Just post that other bug here also.. they are both related.  Since chan_agent also provides those features.

bkw

By: moorejon (moorejon) 2004-05-23 23:19:37

OK, should these be posted as a feature request then? I will give you that the wrapuptime is an agent feature. However the AddQueueMembers are a lot more flexible since the queue member can still take internal calls because it doesn't tie up the extension in use. Adding both changes would make the use of queues more consistent no matter how the member is defined.

The penalty flag really appears to be a member function. The member structure stores the penalty value and all the code is in place. All that is lacking is to modify the AddQueueMember so that it would accept a penatly flag as an arugment (probably next response would be code it if it is so easy :) which I will give a shot at it once I am a little more up to speed on asterisk code structure.

By: moorejon (moorejon) 2004-05-23 23:22:04

You reference change agent as a command? I can't find a reference to such a command. Do you just mean to use Agents instead of the add member command?

By: Brian West (bkw918) 2004-05-24 00:48:26

chan_agent is a proxy that does this stuff but AddQueueMemeber doesn't use queues in that manner.

Loaded /usr/lib/asterisk/modules/chan_agent.so => (Agent Proxy Channel)
 == Registered channel type 'Agent' (Call Agent Proxy Channel)
 == Registered application 'AgentLogin'
 == Registered application 'AgentCallbackLogin'
 == Registered application 'AgentMonitorOutgoing'
 == Parsing '/etc/asterisk/agents.conf':   == Parsing '/etc/asterisk/agents.conf': Found

By: twisted (twisted) 2004-06-16 23:58:23

bkw said it was okay to close this... guess it's because it's not really a bug.