So in broad terms
You need to know when the queue is empty, and when there is voicemail (in a
generic queue mailbox presumably) and also that you haven't already delivered
the voicemail, and probably that when you deliver the mail its been
successfully been heard and actioned.
Are you also emailing the voicemail as what happens once you have played it -
do you delete it assuming its actioned or leave it there,
So you need a trigger when the queue is empty, could be an AGI checking on
hangup or an event from the manager to check the queue count.
I haven't done much with AGIs but would think that using a DeadAGI on hangup
(in 'C' as Steve suggests for speed) you could check queue size, check
voicemail then trigger an event that triggers the calls. You may not want the
call direct in the AGI as you want that to finish but you could either use an
async agi or write a call file or use the manager interface
Do you actually want them to get the voicemail prompts or do you just want to
find the voicemail messages and play them directly.
So I don't know if it helped or added more questions but good luck
Cheers Duncan
On 12/08/2010, at 8:42 PM, Jonas Kellens wrote:
> Anyone has an idea of implementation ?!
>
> Jonas.
>
>
> On 08/10/2010 09:04 AM, Jonas Kellens wrote:
>>
>> Hello list,
>>
>> situation :
>>
>> 1. incoming calls come into a queue
>> 2. there is 1 agent logged in into the queue (not always the same agent)
>> 3. when the caller is in the queue, he has the option to quit the queue and
>> leave a voicemail message
>>
>> what I want :
>>
>> 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.
>>
>>
>> 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.
>>
>> But how will I know when to connect the agent with the voicemail ?
>> How will I know the queue is empty and so the call file may be executed ?!
>>
>>
>> I'm not asking for dialplan examples, just a description of how you guys see
>> the above implementation.
>>
>>
>> Kind regards,
>>
>> Jonas.
> --
> _
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
> http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users