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: [email protected] [mailto:[email protected]] On Behalf Of Tzafrir Cohen Sent: Thursday, February 05, 2009 6:12 PM To: [email protected] 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:[email protected] +972-50-7952406 mailto:[email protected] http://www.xorcom.com iax:[email protected]/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 _______________________________________________ -- 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
