Summary:ASTERISK-00990: #include does not work for changing voicemail passwords
Date Opened:2004-02-04 13:12:32.000-0600Date Closed:2011-06-07 14:10:14
Versions:Frequency of
Description:The voicemail.conf file allows files to be #included, but the logic for allowing users to change their password does not work in this setup. I can see how it would be a pain to find which included file should be written to, but if you can #include the file, you expect it to work. :)
Comments:By: Brian West (bkw918) 2004-02-05 21:15:42.000-0600

This is sooooo broken its not even funny.  Its not setup to worry with includes.

By: Mark Spencer (markster) 2004-02-06 22:45:43.000-0600

If, when passwords were changed, the changes were stored in the asterisk database ,would that be acceptable?  Changing them in the configuration file would still reset them to the new value of the config file, but if the user themselves changes the password, it will not necessarily be reflected in the config file?  Is that okay?

By: () 2004-02-20 12:35:55.000-0600

Well, if you just write to the database, wouldn't reloading overwrite everyones voicemail password if it had changed?  That doesn't sound good... Of course, I don't have a lot personal interest in this bug anymore... I switched to MySql for voicemail.  Of course, the directory app doesn't work for it, but... it looks like  someone's got pgsql support in the bugtracker for directory+voicemail...

I haven't really looked at the config handling code, so my opinions aren't really worth much, but the only way I can think to make this work is as you are parsing config files to store the actual filenames that each set of records comes from and write them back out to the same file (for user editable files).  Sounds ugly and like a lot of work though.

By: twisted (twisted) 2004-04-17 23:21:28

HouseKeeping - If there is still any intrest in this, feel free to re-open or re-submit.