VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
kev at mailcall.com.au Guest
|
Posted: Mon Feb 04, 2008 12:13 am Post subject: [asterisk-users] Wait in Queue for 120 seconds for agent A t |
|
|
Hi all
Just trying to set up a queue and wondering if this is possible.
We have 3 agents, One of them is sort of the first point of contact
What i am looking to do is
1. Someone rings the queue.
2. It rings Agent A.. If Agent A is on the phone then put them on hold
for 120 seconds, and if Agent A gets off the phone within those 120
seconds, put the call to them.
3. If 120 seconds expires, then call agent B, if B rings out, Call agent C
So all i need is for the call to wait 120 seconds for agent A to get off
the phone. Then progress the call if they dont.
Is this possible? If so, any pointers?
Cheers
- Kev
--
This message has been scanned for viruses and
dangerous content by Mail Call antivirus software, and is
believed to be clean. |
|
Back to top |
|
|
lenz-ml at loway.it Guest
|
Posted: Mon Feb 04, 2008 4:01 am Post subject: [asterisk-users] Wait in Queue for 120 seconds for agent A t |
|
|
You create three queues: queue A has only agent A, queue B only agent B,
and queue C only agent C.
You call the firts queue witha timeout of 120 seconds; if call timed out,
you call queue B with a timeout of 120 seconds and so on.
One note: this does not sound great from a service-level point of view
l.
On Mon, 04 Feb 2008 06:13:17 +0100, Kev S <kev at mailcall.com.au> wrote:
Quote: | Hi all
Just trying to set up a queue and wondering if this is possible.
We have 3 agents, One of them is sort of the first point of contact
What i am looking to do is
1. Someone rings the queue.
2. It rings Agent A.. If Agent A is on the phone then put them on hold
for 120 seconds, and if Agent A gets off the phone within those 120
seconds, put the call to them.
3. If 120 seconds expires, then call agent B, if B rings out, Call agent
C
So all i need is for the call to wait 120 seconds for agent A to get off
the phone. Then progress the call if they dont.
Is this possible? If so, any pointers?
Cheers
- Kev
|
--
Loway Research - Home of QueueMetrics
http://queuemetrics.com |
|
Back to top |
|
|
atis at iq-labs.net Guest
|
Posted: Mon Feb 04, 2008 4:23 am Post subject: [asterisk-users] Wait in Queue for 120 seconds for agent A t |
|
|
On 2/4/08, Kev S <kev at mailcall.com.au> wrote:
Quote: | Hi all
Just trying to set up a queue and wondering if this is possible.
We have 3 agents, One of them is sort of the first point of contact
What i am looking to do is
1. Someone rings the queue.
2. It rings Agent A.. If Agent A is on the phone then put them on hold
for 120 seconds, and if Agent A gets off the phone within those 120
seconds, put the call to them.
3. If 120 seconds expires, then call agent B, if B rings out, Call agent C
So all i need is for the call to wait 120 seconds for agent A to get off
the phone. Then progress the call if they dont.
Is this possible? If so, any pointers?
|
I think you should have penalty for agent B, and dial to them trough
local channels - so that busy status gets sent to queue by your own
dialplan. In 1.6 this would mean that you shouldn't use
state_interface - so app_queue can't automatically check that A is
busy.
Then it would go something like this:
Set(started=${EPOCH});
Set(remaining_time=${EPOCH}-started+120);
while(${remaining_time}>0) {
Dial(SIP/a,${remaining_time});
If ("${DIALSTATUS}"="ANSWERED") {
break;
}
Wait(1); // wait so that this loop doesn't eat much CPU.
Set(remaining_time=${EPOCH}-started+120);
}
if ("${DIALSTATUS}"!="ANSWERED") {
Busy();
}
Regards,
Atis
--
Atis Lezdins
VoIP Developer,
IQ Labs Inc.
atis at iq-labs.net
Skype: atis.lezdins
Cell Phone: +371 28806004
Work phone: +1 800 7502835 |
|
Back to top |
|
|
kev at mailcall.com.au Guest
|
Posted: Tue Feb 05, 2008 12:31 am Post subject: [asterisk-users] Wait in Queue for 120 seconds for agent A t |
|
|
Sorry to be painful, But how do i set the queue timeout?
Regards
Kev
Lenz wrote:
Quote: | You create three queues: queue A has only agent A, queue B only agent B,
and queue C only agent C.
You call the firts queue witha timeout of 120 seconds; if call timed out,
you call queue B with a timeout of 120 seconds and so on.
One note: this does not sound great from a service-level point of view
l.
On Mon, 04 Feb 2008 06:13:17 +0100, Kev S <kev at mailcall.com.au> wrote:
Quote: | Hi all
Just trying to set up a queue and wondering if this is possible.
We have 3 agents, One of them is sort of the first point of contact
What i am looking to do is
1. Someone rings the queue.
2. It rings Agent A.. If Agent A is on the phone then put them on hold
for 120 seconds, and if Agent A gets off the phone within those 120
seconds, put the call to them.
3. If 120 seconds expires, then call agent B, if B rings out, Call agent
C
So all i need is for the call to wait 120 seconds for agent A to get off
the phone. Then progress the call if they dont.
Is this possible? If so, any pointers?
Cheers
- Kev
|
| --
This message has been scanned for viruses and
dangerous content by Mail Call antivirus software, and is
believed to be clean. |
|
Back to top |
|
|
lenz-ml at loway.it Guest
|
Posted: Fri Feb 08, 2008 7:29 am Post subject: [asterisk-users] Wait in Queue for 120 seconds for agent A t |
|
|
Don't worry - I paste this leink becaus eyou should have e good
understanding about what the queue() cmd does to be safe in implementation
phase: http://www.voip-info.org/wiki-Asterisk+cmd+Queue
See also: http://astrecipes.net/index.php?n=118
Thanks
l.
On Tue, 05 Feb 2008 06:31:16 +0100, Kev S <kev at mailcall.com.au> wrote:
Quote: | Sorry to be painful, But how do i set the queue timeout?
Regards
Kev
| --
Loway Research - Home of QueueMetrics
http://queuemetrics.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|