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 _________________________________________________________________ Convierte las fotos que m?s te gustan en tu nuevo fondo de escritorio para el ordenador. Es f?cil y adem?s gratis http://wallpapers.msn.com/es-es -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091030/013e7581/attachment.htm
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/> -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091030/0b01af0a/attachment.htm
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! _________________________________________________________________ Inf?rmate, mantente en contacto y encu?ntralo todo, a la vez. Con la nueva Toolbar de MSN nunca has tenido tantas ventajas en tan poco espacio. http://toolbar.es.msn.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091030/ab24de12/attachment.htm
On 30 Oct 2009, at 15:18, 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...Find the one with the most recent date?
Unless you have a long-winded message-leaver, the high sequence should be the last one... -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Howes Sent: Friday, October 30, 2009 10:27 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Voicemail file On 30 Oct 2009, at 15:18, 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...Find the one with the most recent date? _______________________________________________ -- 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
Thanks people,
I've already found the way...
The variable ${VM_MESSAGEFILE} contains what I need...
Bye,
Anahi Ludue?a
From: a_luduena at hotmail.com
To: asterisk-users at lists.digium.com
Date: Fri, 30 Oct 2009 15:18:25 +0000
Subject: Re: [asterisk-users] Voicemail file
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!
Todo el espacio y cuidado que merecen tus fotos digitales lo tienes en Windows
Live Fotos. ?Pru?balo!
_________________________________________________________________
Inf?rmate, mantente en contacto y encu?ntralo todo, a la vez. Con la nueva
Toolbar de MSN nunca has tenido tantas ventajas en tan poco espacio.
http://toolbar.es.msn.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20091030/909f4bea/attachment.htm
This is just a shot in the dark, but perhaps ${VM_MESSAGEFILE}?
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Howes
Sent: Friday, October 30, 2009 10:27 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Voicemail file
On 30 Oct 2009, at 15:18, 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...
Find the one with the most recent date?
_______________________________________________
-- 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
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