Summary:ASTERISK-06035: [patch] VMAuthenticate does not recognize provided mailbox
Reporter:gkloepfer (gkloepfer)Labels:
Date Opened:2006-01-10 16:15:24.000-0600Date Closed:2006-01-10 18:32:11.000-0600
Versions:Frequency of
Environment:Attachments:( 0) vmauthenticate.diff
Description:VMAuthenticate does not do anything with the mailbox provided, and as such, does not work as indicated in the help text (when a mailbox is given).

The problem is that the mailbox provided is never copied to the "mailbox" variable before vm_authenticate() is called.


Also fixed was to skip the user prompt if the user was provided, and to say "thank you" when a correct password is entered, like app_authenticate.  Also, the mailbox variable was never properly initialized, and it was possible for vm_authenticate() to run off the end of the string if it contained sufficient garbage (fixed).
Comments:By: gkloepfer (gkloepfer) 2006-01-10 16:19:52.000-0600

Under additional information, please s/user prompt if the user was provided/mailbox prompt if the mailbox was provided/

Thanks.  Sorry about that. :-)

By: Tilghman Lesher (tilghman) 2006-01-10 18:32:02.000-0600

Committed to 1.2, merged to trunk