[asterisk-dev] app_queue member naming and AMI events

BJ Weschke bweschke at gmail.com
Fri Aug 25 11:07:30 MST 2006


On 8/25/06, Kevin P. Fleming <kpfleming at digium.com> wrote:
> In the course of discussions on IRC about AgentCallbackLogin being deprecated and the new preferred method being dialplan logic, an issue was brought up that using the dialplan method meant that it would be harder for users to track agent activity via Manager events and queue_log entries, since now the member names would be Local/XXXX at agents instead of Agent/XXXX.
>
> One possible solution for this problem is for app_queue to hold _both_ an interface for a member and a 'name', and use the name wherever possible. I started coding these changes, and found that that the Manager events generated by app_queue are extremely inconsistent in their event naming scheme and header naming scheme, and it wasn't going to be easy to make these changes completely backward compatible.
>
> So, I'm asking all of you... is it time to to implement this new member 'name' field, and in the process clean up the app_queue Manager events to use consistent event and header naming? Note that only dynamic queue members will be able to have names assigned to them, since I'm not going to change the queues.conf parser to support them. The names will be persisted and used everywhere possible, though, so that means that Manager events would (for example) report _both_ the member name and their interface (location) when both are known. queue_log entries would never include the interface, only the name, if one has been supplied (otherwise the interface is used instead).
>
> Comments?

 As one of the folks that sparked the original conversation, I think
it's a necessary change coming as a result of the deprecation. :)

-- 
Bird's The Word Technologies, Inc.
http://www.btwtech.com/



More information about the asterisk-dev mailing list