[Asterisk-Users] Persistennt Data of Queue with Dynamic Agents

Pimjai Wesnarat pw at nummerndirekt.de
Mon May 22 09:34:32 MST 2006


Hi all,

I would like to ask for some help about the queue here. I want to 
implement a call Queue that when there's no agent logged in, they should 
execute the next extension. eg. if I do it like this

exten => 700,1,Answer
exten => 700,2,Queue(TestQueue)
exten => 700,3,Playback(noagent)
exten => 700,4,Hangup

When there's no agent present in TestQueue, it should tell the user that 
there's no agent available now and hang up the call. We are able to do 
this thing successfully only by using the dynamic agent -- 
AddQueueMember().
However, using this approach gave us a few more problems that are:

1. The realtime data for dynamic agents is not really persistent. The 
setting "persistentmembers=yes" in queues.conf is only saving the queue 
information, if you login and logout an agent all queue member related 
data is lost. Is there any way to make these data persistent?

2. If Asterisk is rebooted, all the information is reset - the queue and 
agents information are all reset. Is there any way to avoid this?

3.  It seems that it is possible to login one agent into the same 
extension. Is there anyway to avoid this??


Any hint would be appreciated.

Pim






More information about the asterisk-users mailing list