[Asterisk-Users] How to determine the voicemail file name for
an AGI script
Steven Critchfield
critch at basesys.com
Tue Mar 15 08:54:14 MST 2005
On Tue, 2005-03-15 at 07:03 -0600, Bryan Boatright wrote:
> I've read several of the Wiki sections on Voicemail and "Asterisk
> variables" but could not find an obvious answer to this question.
>
> I would like to run a script that post-processes the voicemail after the
> Voicemail application returns (with AGI or DeadAGI), but I cannot figure
> out how to easily determine the name of the file written by the
> Voicemail application. Does anyone know of an efficient way to access
> that information from within the dialplan so that it may be passed to
> the AGI script?
Well, you could store the extension/context of the voicemail box that
you sent the call to. From there it is just a matter of looking in the
appropriate directory and dealing with the way voicemail write the
information out.
--
Steven Critchfield <critch at basesys.com>
More information about the asterisk-users
mailing list