I wanted to have one vm box send to multiple email address, so i added them and seperated with commas
Well it didnt work but als looks like i messed up the DB or something cuz the email addresses appear next to “name”
Perhaps the system should check that a valid email has been entered. The system should throw an error if something other than a semi colons is used. The popup help should also explain that a semi colons is required and provide an example.
That would be nice, but if making pretty error message and help msg is too much work, at least make it so it filters out things that break the database. Wouldn’t that mean it is SQL injection vulnerable being that it inserted the other email addresses by the name field when I refreshed
@rchase it should not be necessary to restore from backup, locate the file /etc/asterisk/voicemail.conf and near the bottom will be the settings for each voicemail box. If you are careful you can manually delete the extra email addresses (or change to semicolons), save changes and browse back to voicemail admin. Prob best to make a backup of the file first.
which uses commas (which I would offer is patently inappropriate in /etc/asterick/voicemail.conf ), If asterisk is currently patched, by what ever means (there have been more than one patch offered) then the syntax needs clarification and the authority of the patch identified, either for only the Distro version or more generally for those who don’t use the Distro.
This from Michael Newton a pragmatist after my own heart
Seems to patch/work fine against a generic Asterisk 11.* source if that is how you roll, he uses a “|” which is logical, and compliant with voicemail.conf where either a comma or a semicolon are surely a little problematic ( I have always used “&” as a separator in that file but that is only a preference) and FreePBX GUI seems to translate either a coma or a pipe to a pipe in that file.
@lgaetz Thanks for the tip on editing voicemail.conf. I did that but obviously I deleted a little too much or something and made things worse - all the input fields for that mailbox in FreePBX had “>” and other special characters. I deleted the mailbox, recreated it, used semicolons, and its good now
Actually you probably would, but only to the first email address, the semicolon will be inserted into /etc/asterisk/voicemail.conf’s “context” and interpreted as the precursor to a comment so any further choices for that particular extension will be ignored. Probably not what you want , a real result of your method:-