Try this:
exten => s,1,Background(whateveryouwanttosay)
exten =>,s,n,Voicemail(${TheMailboxYouWant},s)
exten => #,1,Voicemail(${TheMailboxYouWant},s)
; the above is so if they press # to skip the recording, they get the beep
(warning, syntax is not guaranteed to be accurate, consider this pseudo-code
to illustrate a concept.
Enjoy.
Jim
> -----Original Message-----
> From: Remzi Semsettin Turer [mailto:[EMAIL PROTECTED]
> Sent: April 24, 2007 3:02 PM
> To: [email protected]
> Subject: [on-asterisk] Best way to implement a voicemail
> option for a customer care center
>
> For our customer care center we are using Asterisk. I have
> been using Record application of the dialplan, whenever a
> user wants to exit a queue and leave a voice mail. However,
> there is one big catch, the user has to push # key to
> complete recording.
>
> Here is my questions:
>
> 1. Record application has an exit status codes, however, I
> haven't figured out how to access to them. If the exit code
> is -1, that means the user hangup (according to docs). How
> can you access the exit code of record application? My idea
> is to detect the hangup, use DeadAgi to process the partially
> recorded file and email.
>
> 2. Is there a way to have Record application finish recording
> whether # is pressed or not (similar to voicemail
> application, when the user is done, they simply hangup)
>
> Do you have any other suggestions? I can possibly use the
> voicemail application for this as well, but haven't tried it yet.
>
> TIA,
>
> Remzi Turer
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED] For
> additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.463 / Virus Database: 269.5.10/774 - Release
> Date: 23/04/2007 5:26 PM
>
>
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.463 / Virus Database: 269.5.10/774 - Release Date: 23/04/2007
5:26 PM