Thanks.
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Tzafrir
Cohen
Sent: Thursday, February 05, 2009 6:12 PM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Voicemail post-processing
On Thu
I have an application where a caller leaves a voicemail message and then
I need to gpg encrypt the file before emailing it.
I wrote a perl script to do this, which is executed after a message is
left, using the externnotify feature in voicemail.conf.
My script has no knowledge of the name of the
Adam Robins schrieb:
I have an application where a caller leaves a voicemail message and then
I need to gpg encrypt the file before emailing it.
I wrote a perl script to do this, which is executed after a message is
left, using the externnotify feature in voicemail.conf.
My script has no
I would replace the call to Voicemail() with your own recording and
generate a unique filename with a call to a script. Use Record().
Then, when the message is done, call another script to rename the file
to something that has a word like COMPLETE in the filename.
So, for example, assign
Another option is to have your post-processing script that watches the
new voicemail files check the output of 'lsof' to see if the asterisk
process is currently writing to any given file, and only e-mail those
that do not have open file descriptors on them.
--
Alex Balashov
Evariste Systems
Adam Robins wrote:
I have an application where a caller leaves a voicemail message and then
I need to gpg encrypt the file before emailing it.
I wrote a perl script to do this, which is executed after a message is
left, using the externnotify feature in voicemail.conf.
My script has no
Alex Balashov schrieb:
I would replace the call to Voicemail() with your own recording and
generate a unique filename with a call to a script. Use Record().
Then, when the message is done, call another script to rename the file
to something that has a word like COMPLETE in the filename.
On Thu, Feb 05, 2009 at 05:04:11PM -0500, Adam Robins wrote:
I have an application where a caller leaves a voicemail message and then
I need to gpg encrypt the file before emailing it.
I wrote a perl script to do this, which is executed after a message is
left, using the externnotify feature