Hi, Is it possible to define maximum talk time in a queue? ie any one who joins a queue should not be able to talk more than say 5 minutes to the agent. raj
Hi Raj, if you use Local channels for agents (or callback agents), you can easily do this in the Dial() command after the Local channel is called. Of course your clients may get a bit angry at being disconnected, it is usually better to jave each agent stay aware od the call length and occasionally tolerate longer calls :) Just my $0.02 l. On Wed, 25 Oct 2006 15:06:35 +0200, Rajkumar S <rajkumars+asterisk@gmail.com> wrote:> Hi, > > Is it possible to define maximum talk time in a queue? ie any one who > joins a queue should not be able to talk more than say 5 minutes to > the agent. > > raj-- Loway Research - Home of QueueMetrics http://queuemetrics.loway.it
Hi Lenz, On 10/25/06, Lenz <lenz-ml@loway.it> wrote:> if you use Local channels for agents (or callback agents), you can easily > do this in the Dial() command after the Local channel is called.I am using call back agents. Pardon me if this is obvious, but the dial is performed by the queue app, so how do I control the dial command? A bit more elaboration will be of great help.> Of course > your clients may get a bit angry at being disconnected, it is usually > better to jave each agent stay aware od the call length and occasionally > tolerate longer calls :) > Just my $0.02I am replacing an old call center system with asterisk, which had this facility. So the clients are pretty used to getting cut at 5 minutes. So every one tries to make the calls short and sweet :) thanks a lot, raj> On Wed, 25 Oct 2006 15:06:35 +0200, Rajkumar S > <rajkumars+asterisk@gmail.com> wrote: > > > Hi, > > > > Is it possible to define maximum talk time in a queue? ie any one who > > joins a queue should not be able to talk more than say 5 minutes to > > the agent. > > > > raj
On 10/26/06, Lenz <lenz-ml@loway.it> wrote:> When you log in a callback agent, you enter first the agent code, and then > the extension he's sitting at. The context is usually specified in the > dialplan command, but the result is that asterisk knows that agent 103 is > sitting at 234@agents. 234@agents is a working extension in a working > context, where you do something on the lines of: > > [agents] > exten => _2XX,1,Dial(SIP/${EXTEN}) > > In this dial command you're free to add whatever option you may like, > including the ones to limit call length.I have [sip] exten => 605,1,Dial(SIP/605||S(30)) in my sip context (where agents are located) When I call this from another sip phone, it works ie call gets terminated in 30 seconds, but when this extension is called from queue it does not work. The asterisk cli gives the following output -- outgoing agentcall, to agent '605', on 'Local/605@sip-435e,1' -- Called Agent/605 -- Executing Dial("Local/605@sip-435e,2", "SIP/605||S(30)") in new stack -- Setting call duration limit to 30 seconds. -- Called 605 -- SIP/605-082f56c0 is ringing -- Agent/605 is ringing As you can see the call duration is properly set in the logs. The queue.conf has the following entries for the queue musiconhold = default strategy = roundrobin servicelevel = 60 timeout = 60 retry = 5 wrapuptime=5 announce-frequency = 90 announce-holdtime = yes member => Agent/605 Any help to get this working will be much appreciated. raj
Possibly Parallel Threads
- queue_log in mysql and file
- Monitor Logged in Agent's conversation
- Realtime mapping for 'queue_log' found to engine 'odbc', but the engine is not available
- Conference with an AGI inside Queue for password change
- DTMF is not working occasionally over IAX Trunk