[Asterisk-Users] Queues and Agents

Johann johann.hoehn at ecommerce.com
Wed Dec 21 09:42:06 MST 2005


Checked the code and the queuename is not included regardless.  I looked
at the public SVN and it appears to be the same there as well.  So
I will have to come up with an alternative solution in the mean time.

--johann

Johann wrote:
> I see what you mean and already have the option turned on.  However the 
> entries in astdb
> are a bit odd:
> 
> //Agents/40042                                    : 4004 at queue;4004
> //Agents/4005                                     : 4005 at queue;4005
> //Agents/4011                                     : 4011 at queue;4011
> //Agents/4014                                     : 4014 at queue;4014
> //Agents/4025                                     : 4025 at queue;4025
> 
> Some background.  We have multiple queues and use agentIDs that are 
> based on the employee's
> extension and optional digits appended for specific queues.  However 
> which employees are on
> which can vary and would prefer not to add to much custom logic for 
> employees that will most
> likely change in the future.
> 
> Why is the queue part of the entry empty?  Seems that the /'s in the 
> channel name might be
> interferring with astdb and how it separates family and keys.  We are 
> running Asterisk 1.2.1
> currently.
> 
> --johann
> 
> Nicolás Gudiño wrote:
> 
>>> Is it possible from within the dialplan to determine if an Agent 
>>> channel is already a member of
>>> a queue?  Would like to use this as part of a check that will play a 
>>> message if the agent is the
>>> last person to log off the queue.
>>>
>>> I can sorta do it by using AddQueueMember and checking ${AQMSTATUS}, 
>>> however that generates a log
>>> warning if they are already a member.  I would also have to sometimes 
>>> run RemoveQueueMember real
>>> quick to remove people who shouldn't be a member after doing that.
>>>
>>> Any ideas?  Another idea I have it so make a fast AGI script that 
>>> parses data from a mamager
>>> connection to see, but this seems kinda overkill for something that 
>>> should be simple.
>>
>>
>>
>> Maybe by using persistentmembers = yes in queues.conf and then query 
>> astdb:
>>
>> Ffrom the cli: database get /Queue/PersistentMembers yourqueuename
>>
>> Or from the dialplan using DB function or DBGet application depending
>> your asterisk version.
>>
>> Regards,
>>
>> -- 
>> Nicolás Gudiño
>> Buenos Aires - Argentina
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> Asterisk-Users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
> 
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 



More information about the asterisk-users mailing list