]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
voicemail.conf: Fix incorrect comment about #include.
authorNaveen Albert <asterisk@phreaknet.org>
Tue, 28 Mar 2023 13:37:55 +0000 (13:37 +0000)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 10 Apr 2023 17:05:06 +0000 (12:05 -0500)
A comment at the top of voicemail.conf says that #include
cannot be used in voicemail.conf because this breaks
the ability for app_voicemail to auto-update passwords.
This is factually incorrect, since Asterisk has no problem
updating files that are #include'd in the main configuration
file, and this does work in voicemail.conf as well.

ASTERISK-30479 #close

Change-Id: I3bf7d275849ab83f55f7fb6702a75a3077ee1df3

configs/samples/voicemail.conf.sample

index e799cf602be1340147c917908a850469b8264f64..8771bea1e0a0dee65e77f8cfdd01cb05bd261646 100644 (file)
@@ -4,10 +4,14 @@
 
 ; ********* NOTICE ************************************************************
 ;
-; NOTE: Asterisk has to edit this file to change a user's password.  This does
-; not currently work with the "#include <file>" directive for Asterisk
-; configuration files, nor when using realtime static configuration.
-; Do not use them with this configuration file.
+; NOTE: Asterisk has to edit this file to change a user's password, so
+; do not use realtime static configuration with this file.
+; To avoid requiring config updates on password updates, you could use the
+; passwordlocation option to store passwords separately.
+;
+; If your "source of truth" for voicemail passwords is elsewhere, you should
+; use the externpassnotify option to notify whatever stores the passwords
+; (e.g. external database) when there are changes, to keep it synchronized.
 ;
 ; NOTE: Mailboxes defined by app_voicemail MUST be referenced by the rest
 ; of the system as mailbox@context.  The rest of the system cannot add