Summary:ASTERISK-10891: having same voicemail pin as voicemail password should force user to change their password, but it does not
Reporter:Simon P. Ditner (spditner)Labels:
Date Opened:2007-11-26 13:17:36.000-0600Date Closed:2007-11-26 13:45:28.000-0600
Versions:Frequency of
Description:A matching voicemail extension and pin should not be allowed. Documentation seems to indicate that matching ext/pin should cause app_voicemail to treat them as a new user. However, it will presently only do so when the FORCENAME, or FORCEGREETING options are set.

Looked at code, around line 6525:

6525    if (!strcasecmp(vmu->mailbox, vmu->password) &&                                                                                                                              
6526       (ast_test_flag(vmu, VM_FORCENAME | VM_FORCEGREET))) {

The && should be ||

Tested and verified that it then behaved as expected.
Comments:By: Jason Parker (jparker) 2007-11-26 13:45:27.000-0600

No, it should be &&, and is correct.  There are two options in voicemail.conf that must be set to have this behavior.  I believe they are forcename and forcegreeting

Closing, as this is working as intended.