[asterisk-users] Voicemail post-processing

Adam Robins arobins at PharmaCentra.com
Fri Feb 6 07:44:21 CST 2009


Thanks for the suggestions.  Modifying the sendmail command in
voicemail.conf sounds like the most straightforward method, however, I
will first try using 'record' in the dialplan instead of calling
voicemail.  This is so I can control the naming of the recorded file.  I
will simply run my externnotify script from the hangup priority to
encrypt and email the file.

Another drawback to using voicemail, in any form, is that when the mail
recipient unencrypts the file, all voicemail recordings are names
msg000x.wav.  It is much better if I can name the files like
vm-calleridnum-timestamp.wav

Thanks.


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir
Cohen
Sent: Thursday, February 05, 2009 6:12 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Voicemail post-processing

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 in voicemail.conf.

Why not abuse the sendmail command parameter of voicemail.conf and send
commands through a wrapper script that handles GPG encryption?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir

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



More information about the asterisk-users mailing list