Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
userdoc:tt_vm_password_validation [2012/07/03 02:41] droemel |
userdoc:tt_vm_password_validation [2012/07/31 18:21] abelbeck |
||
---|---|---|---|
Line 11: | Line 11: | ||
* Can not contain the same digit, in sets of four (i.e. 1111) | * Can not contain the same digit, in sets of four (i.e. 1111) | ||
* Can not be the same as the extension | * Can not be the same as the extension | ||
+ | * Can not be the same as the extension plus a single digit | ||
* Can not be the old password | * Can not be the old password | ||
You can just comment out the requirements you don't need/want. | You can just comment out the requirements you don't need/want. | ||
- | Here is a bash script from Lonnie: | + | Here is a bash script from Lonnie |
<code bash ast-vmpasscheck.sh> | <code bash ast-vmpasscheck.sh> | ||
Line 78: | Line 79: | ||
fi | fi | ||
done | done | ||
+ | |||
+ | delta=$((${# | ||
+ | if [ $delta -eq 1 ]; then | ||
+ | if string_in_string " | ||
+ | reject "Too similar to mailbox number detected" | ||
+ | fi | ||
+ | fi | ||
echo " | echo " | ||
exit 0 | exit 0 | ||
</ | </ | ||
+ | |||
+ | Asterisk 1.8 has also the feature to set a minimum Voicemail Password length without the script: | ||
+ | |||
+ | ; minpassword=0 ; Enforce minimum password length |