<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#ffffff">
<font face="Helvetica, Arial, sans-serif">Hello list,<br>
<br>
situation :<br>
<br>
1. incoming calls come into a queue<br>
2. there is 1 agent logged in into the queue (not always the same agent)<br>
3. when the caller is in the queue, he has the option to quit the queue
and leave a voicemail message<br>
<br>
what I want :<br>
<br>
when there are no more callers in the queue with who the agent has to
be connected, Asterisk needs to call the agent and connect him with his
voicemail IF there is a voicemail left.<br>
<br>
<br>
The caller can press "8" to exit the queue and go to the part in the
dialplan that does voicemail. I thought about creating a call file when
a voicemail is left.<br>
<br>
But how will I know when to connect the agent with the voicemail ?<br>
How will I know the queue is empty and so the call file may be executed
?!<br>
<br>
<br>
I'm not asking for dialplan examples, just a description of how you
guys see the above implementation.<br>
<br>
<br>
Kind regards,<br>
<br>
Jonas.<br>
</font>
</body>
</html>