[asterisk-dev] voicemail: storing vmsecret in /var/spool/asterisk/voicemail

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Jan 19 05:02:34 CST 2009


On Mon, Jan 19, 2009 at 11:45:01AM +0100, Klaus Darilion wrote:
> Hi!
> 
> I do not like that the vmsecret is stored in the same file file as the 
> other user provisioning and Asterisk writes to this file (users.conf or 
> voicemail.conf). (so, indirectly a user can write to the configuration 
> file).
> 
> What do you think about the idea of storing the vmsecret in the spool 
> directory - just like all the other user configuration (self recorded 
> prompts ...). Then we have a clear separation - all the things 
> configured by the admin are in the configuration file (user.conf or 
> voicemail.conf) and all the things configured by the user itself are in 
> the spool directory.

The secret kept in the directory of the user?

Does voicemail.conf support a separate context for each user? users.conf
has it and IIRC minivm also has it. It would be needed if you don't want
to break the configuration format.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list