Re: [asterisk-users] Grab voicemail WAV file when done

2010-07-28 Thread Leif Madsen
On 10-07-27 10:02 PM, Michelle Dupuis wrote:
 From: asterisk-users-boun...@lists.digium.com 
 [asterisk-users-boun...@lists.digium.com] On Behalf Of Leif Madsen 
 [leif.mad...@asteriskdocs.org]
 Sent: Tuesday, July 27, 2010 9:22 PM
 To: Asterisk Users List
 Subject: Re: [asterisk-users] Grab voicemail WAV file when done

 On 10-07-27 08:38 PM, Michelle Dupuis wrote:
 I need to grab the voicemail WAV file once the voicemail command is done.  
 Is there a hook to be notified that voicemail is done, and get the name of 
 the recorded file?

 Look at the 'externnotify' option to voicemail.conf.
 
  The problem is that I need to catch the filename in the dialplan, since I
  will be recording several other files and concatenating them with SOX.

Per doc/tex/channelvariables.tex (in 1.8.0-beta1 at least)

\subsection{The VoiceMail() application}
\begin{verbatim}
${VM_CATEGORY}  Sets voicemail category
${VM_NAME}* Full name in voicemail
${VM_DUR} * Voicemail duration
${VM_MSGNUM}  * Number of voicemail message in mailbox
${VM_CALLERID}* Voicemail Caller ID (Person leaving vm)
${VM_CIDNAME} * Voicemail Caller ID Name
${VM_CIDNUM}  * Voicemail Caller ID Number
${VM_DATE}* Voicemail Date
${VM_MESSAGEFILE} * Path to message left by caller
\end{verbatim}



(Thanks Russell!)

Leif Madsen.

-- 
_
-- 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


[asterisk-users] Grab voicemail WAV file when done

2010-07-27 Thread Michelle Dupuis
I need to grab the voicemail WAV file once the voicemail command is done.  Is 
there a hook to be notified that voicemail is done, and get the name of the 
recorded file?

Thanks
MD
-- 
_
-- 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


Re: [asterisk-users] Grab voicemail WAV file when done

2010-07-27 Thread Leif Madsen
On 10-07-27 08:38 PM, Michelle Dupuis wrote:
 I need to grab the voicemail WAV file once the voicemail command is done.  Is 
 there a hook to be notified that voicemail is done, and get the name of the 
 recorded file?

Look at the 'externnotify' option to voicemail.conf.

Leif Madsen.

-- 
_
-- 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


Re: [asterisk-users] Grab voicemail WAV file when done

2010-07-27 Thread Michelle Dupuis
The problem is that I need to catch the filename in the dialplan, since I will 
be recording several other files and concatenating them with SOX.  

MD

From: asterisk-users-boun...@lists.digium.com 
[asterisk-users-boun...@lists.digium.com] On Behalf Of Leif Madsen 
[leif.mad...@asteriskdocs.org]
Sent: Tuesday, July 27, 2010 9:22 PM
To: Asterisk Users List
Subject: Re: [asterisk-users] Grab voicemail WAV file when done

On 10-07-27 08:38 PM, Michelle Dupuis wrote:
 I need to grab the voicemail WAV file once the voicemail command is done.  Is 
 there a hook to be notified that voicemail is done, and get the name of the 
 recorded file?

Look at the 'externnotify' option to voicemail.conf.

Leif Madsen.

--
_
-- 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