Jonathan Thurman
2009-Mar-18 22:02 UTC
[asterisk-users] Voicemail config help - require password
How do you require a password for a voicemail box? I have been searching all day, and can't find any type of "security" setting for voicemail. I am looking for some what to have some minimum security like "no blanks, can't be the same as the extension, can't be sequential numbers or repeated numbers". I know that not all of these options may exist, but there has to be a way to require a password? If not, does anyone have an external script that does some of the above before I write one? Also, is there a way to retain deleted messages for a length of time before they are purged? We currently have that "feature" on our production VM server that I am trying to replicate. Thanks! -Jonathan
Tilghman Lesher
2009-Mar-18 22:31 UTC
[asterisk-users] Voicemail config help - require password
On Wednesday 18 March 2009 17:02:33 Jonathan Thurman wrote:> How do you require a password for a voicemail box? I have been > searching all day, and can't find any type of "security" setting for > voicemail. I am looking for some what to have some minimum security > like "no blanks, can't be the same as the extension, can't be > sequential numbers or repeated numbers". I know that not all of these > options may exist, but there has to be a way to require a password? > If not, does anyone have an external script that does some of the > above before I write one? > > Also, is there a way to retain deleted messages for a length of time > before they are purged? We currently have that "feature" on our > production VM server that I am trying to replicate. Thanks!Starting in 1.6.2, yes. The setting within voicemail.conf that controls this is externpasscheck. This setting controls the name of a script used for password validation. The script should output the value 'VALID', plus any additional details you want in the log if the password meets the specified rules and 'FAILURE' (followed by any additional details) otherwise. -- Tilghman
Andrew Furey
2009-Mar-18 23:18 UTC
[asterisk-users] Voicemail config help - require password
On 19/03/2009, Jonathan Thurman <jthurman42 at gmail.com> wrote:> Also, is there a way to retain deleted messages for a length of time > before they are purged? We currently have that "feature" on our > production VM server that I am trying to replicate. Thanks!Could this be done with a simple nightly cron job? Something like find /var/lib/asterisk/messages [I forget the path] -name *.wav -mtime +90 -exec rm {} \; That'll delete any WAV files older than 90 days. Mind you, there might be an index file that needs editing as well (haven't used the VM system for a while) so a script may be needed... Andrew -- Linux supports the notion of a command line or a shell for the same reason that only children read books with only pictures in them. Language, be it English or something else, is the only tool flexible enough to accomplish a sufficiently broad range of tasks. -- Bill Garrett