On Tue, Jul 05, 2005 at 09:53:46AM -0400, Michael George
wrote:> I'm trying to set up a base * configuration in a version control
system.
>
> I have nearly all the system-specific configuration pulled out into a
> subdirectory so that /etc/asterisk is very generic and I can copy it into
> another system when I create it.
>
> The only stickler is voicemail.conf.
>
> Includes within voicemail.conf will work, but when a user changes their
> password, * cannot put the change into the included file and a restart
would
> wipe out password changes.
>
> I tried using symlinks and hard links and it appears that when a user
changes
> their VM password, the file is deleted and rewritten. Those semantics
defeat
> both types of links.
>
> I will have to ponder this issue for a bit. If anyone has suggestions,
please
> offer them. If I come up with a solution transparent to the revision
control
> system (subversion), I will report back to the list.
On a related topic:
I use an external command to change the password in the included files.
Following Asterisk's logic, that external command should have updated
the password app_voicemail remembers internally:
bugs.digium.com/view.php?id=4602
--
Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is
tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849755 | | friend