[asterisk-users] Voicemail file
Ishfaq Malik
ish at pack-net.co.uk
Fri Oct 30 10:38:15 CDT 2009
You could use the AMI to find out how many messages are in the voicemail
mailbox and then work out the file name from that...
Anahi Ludueña wrote:
> Yes, but is there a way to know the filename of that message?
> For example: msg0029.wav?
> I know where it is saved, but if I want to return it, I need to find
> the last one... and it is not recommended in my opinion...
> Thanks,
>
> *
> ------------------------------------------------------------------------
> *
>
> *Anahi Ludueña*
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
> From: danny at debsinc.com
> To: asterisk-users at lists.digium.com
> Date: Fri, 30 Oct 2009 10:14:27 -0500
> Subject: Re: [asterisk-users] Voicemail file
>
> Assuming you aren’t writing your VM’s to a database, the voicemail
> will be in
> /var/spool/asterisk/voicemail/default/<extension>/INBOX/msg<####>.WAV
> (wav, gsm, txt – depends on voicemail.conf).
>
>
>
> ------------------------------------------------------------------------
>
> *From:* asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] *On Behalf Of *Anahi
> Ludueña
> *Sent:* Friday, October 30, 2009 10:06 AM
> *To:* asterisk-users at lists.digium.com
> *Subject:* [asterisk-users] Voicemail file
>
>
>
> Hi all,
> When somebody leaves a message in the voicemailbox, is there a way to
> know the file name of it?
> I need to return the voicemail file name in the deadagi command.
> Thanks,
>
> Anahi
>
> ------------------------------------------------------------------------
>
> Entra al Nuevo Canal Motor y descubre por qué los coches más rápidos
> sólo aparcan en MSN. Nuevo diseño, más completo y abierto a tu
> opinión. ¡Nuevo Canal Motor! <http://motor.es.msn.com/>
>
>
> ------------------------------------------------------------------------
> Todo el espacio y cuidado que merecen tus fotos digitales lo tienes en
> Windows Live Fotos. ¡Pruébalo! <http://www.vivelive.com/compartirfotos/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Ishfaq Malik
Software Developer
PackNet Ltd
Office: 0161 660 3062
More information about the asterisk-users
mailing list