I've just installed asterisk as a new phone system for our office but am having difficulty with the queues. Specifically I need a way to redirect our sales queue to voicemail when no one is logged in to the queue. I see I can use the joinonempty=no setting, however this setting doesn't work if you use the agent functionality (at least not with AgentCallbackLogin). I could, of course use the AddQueueMember/RemoveQueueMember, however my experience with our version (as well as several previous versions) is once an extension is ringing, it will continue ringing that same extension forever (tried for 5-10 minutes). Can anyone think of a way to accomplish what I want without using the Queue timeout parameter (when someone's logged in and taking phone calls, calls need to stay in the queue)? My config details are below: All phones are Cisco 7960g's running SIP (v. 6.3) I'm running version: Asterisk CVS-HEAD-09/11/04-15:55:23 queues.conf: [general] [sales] music=default strategy=leastrecent timeout=15 retry=5 maxlen=0 announce-frequency=60 announce-holdtime=yes queue-youarenext = queue-youarenext queue-thereare = queue-thereare queue-callswaiting = queue-callswaiting queue-holdtime = queue-holdtime queue-minutes = queue-minutes queue-thankyou = queue-thankyou monitor-format = wav49 monitor-join = yes ; Members of this queue member => Agent/8108 member => Agent/8153 agents.conf: [agents] ackcall=no autologoff=15 ; Sales agent => 8108,8108,agent 1 agent => 8153,8153,agent 2 extensions.conf: exten => 1,1,SetCIDName(Sales Queue) exten => 1,2,Queue(sales-neospire|t|||) Anyone have any ideas? Paul
On Fri, Sep 17, 2004 at 11:09:49AM -0500, Paul Traue, Jr. wrote:> I've just installed asterisk as a new phone system for our office but am > having difficulty with the queues. Specifically I need a way to > redirect our sales queue to voicemail when no one is logged in to the > queue. I see I can use the joinonempty=no setting, however this setting > doesn't work if you use the agent functionality (at least not with > AgentCallbackLogin). I could, of course use the > AddQueueMember/RemoveQueueMember, however my experience with our version > (as well as several previous versions) is once an extension is ringing, > it will continue ringing that same extension forever (tried for 5-10 > minutes). > > Can anyone think of a way to accomplish what I want without using the > Queue timeout parameter (when someone's logged in and taking phone > calls, calls need to stay in the queue)?<CLEANUP>> PaulPaul, I have run into the same problem. The easiest way to fix it would be to not use Agents anymore, as when they are members of a queue there is no way for app_queue to see if they are logged in or not (leading to the problem we're having). However, this bug: http://bugs.digium.com/bug_view_page.php?bug_id=0001693 may provide the tools we need to work around this problem, namely, not putting Agents statically into queues.conf, but adding them dynamically using AddQueueMember when they log on. Austin
On Sun, 19 Sep 2004 09:40:19 -0400, Austin M. Brower <asterisk@bobman.net> wrote:> Paul, > However, this bug: > http://bugs.digium.com/bug_view_page.php?bug_id=0001693 > may provide the tools we need to work around this problem, namely, not > putting Agents statically into queues.conf, but adding them dynamically > using AddQueueMember when they log on. >Mark & Vulture, Any idea on the eta for this to make it into CVS Head? -Chris
Hello all, I am currently using asterisk in a call center configuration. I have created a queue where our customers listen to music while an agent picks up. Pretty standard stuff. I have a total of 5 agents who are able to sucessfully sign-in and sign-out of the queue by using setting AgentCallbackLogin. Here's my problem. Say there are no agents signed-on. The caller is still able to enter the queue by hitting the appropriate menu option. Once in the queue, they will listen to hold music indefinately...or until the first agent logs-in to the queue. This is obviously a bad experience for the user. Basically, they wont know they have an indefinate hold time. How can i determine if there are any agents signed-in, and if not, take them straight to voice mail with a message like "Sorry, we are unable to take you call now, please leave a message..."?? Any help with this would be appreciated. thanks, Marco ------------------------------------------ Marco Nicolayevsky Chief Technology Officer MisterArt.com LP http://www.misterart.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040924/7eae3e48/attachment.htm
-----Original Message----- From: Marco Nicolayevsky [mailto:marco@misterart.com] Sent: Friday, September 24, 2004 11:45 PM To: Asterisk-Users@lists.digium.com Subject: [Asterisk-Users] agents and queues>How can i determine if there are any agents signed-in, >and if not, take them straight to voice mail with >a message like "Sorry, we are unable to take you >call now, please leave a message..."??We have run into the same sort of problems. We created an addition to the monastery project which allows our call center manager to see who is logged in via a web browser. In that same perl script which loops indefinately every 5 sec we check to see if there is anyone logged in. Then we create a variable (AGENTSLOGGEDIN) which is either 0 or 1. Then we check the status of that variable from the dialplan to see if we should place calls in the queue. Seems to work pretty well for us. Robert Jackson
> -----Original Message----- > From: Jo?o Amaro [mailto:ashes@gildot.org] > Sent: Monday, September 27, 2004 5:16 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] agents and queues > > > * > *As you see, > *" Returns 0 if the queue is full, nonexistant, or has no > members.\n" *when it happens, you can have a priority n+1 > which sends the call to the voicemail. That's what i'm doing > with my callcenter. > >Unfortunately this doesn't seem to hold true in our situation. This method only worked for me when I did not define any members in queues.conf, and added any members with AddQueueMember. However when I add queue members with Member => Agent/101 in queues.conf the Queue command always returns as if there were a member. This is only my experience, and you could be correct. Robert Jackson
I have a queue and some agents. The agents are not logged in but are members of the queue. Now, joinempty=no I would assume that you cannot join this queue but will fall into the goto(queuefail|1|1). This is not so. I join the queue just fine. If I remove the three members from the queue (comment them out in queues.conf), I cannot join the queue. Am I missing something? How do I keep people from joining the queue when the agents are not logged in? </edg> ---queues.conf--- [main] music = default announce = beep strategy = rrmemory context = qoutcon timeout = 15 retry = 5 wrapuptime=15 maxlen = 0 announce-frequency = 90 announce-holdtime = yes ; announce-round-seconds = 10 queue-youarenext = queue-youarenext queue-thereare = queue-thereare queue-callswaiting = queue-callswaiting queue-holdtime = queue-holdtime queue-minutes = queue-minutes queue-seconds = queue-seconds queue-thankyou = thankyou queue-lessthan = queue-less-than joinempty = no leavewhenempty = yes member => Agent/101 member => Agent/102 member => Agent/103 ----agents.conf---- group = 1 agent => 101,xxx,Max agent => 102,xxx,Norm agent => 103,xxx,Hi ----extensions.conf ----- [mainqueue] exten => s,1,Queue(main) exten => s,2,goto(queuefail,1,1) [queuefail] exten => 1,1,VoiceMail(200) exten => 1,2,Playback(Goodbye) exten => 1,3,Hangup ---- cli output ---- xxx*CLI> show queue main main has 0 calls (max unlimited) in 'rrmemory' strategy (0s holdtime), C:0, A:0, SL:0.0% within 0s Members: Agent/101 has taken no calls yet Agent/102 has taken no calls yet Agent/103 has taken no calls yet No Callers xxx*CLI> show agents 101 (Agent 101) not logged in (musiconhold is 'default') 102 (Agent 102) not logged in (musiconhold is 'default') 103 (Agent 103) not logged in (musiconhold is 'default') ----------------------