Woof!

On Mon, 01 Feb 2010 15:53:46 -0500, Arjun Nair <[email protected]> wrote:

> settings on the other hand, like say what prompt the voicemail server  
> should play, would be mastered by sipXconfig, and stored and backed up  
> in the sipXconfig database.

I'd say that the status of prompts, greetings, etc. should NOT be in the  
database, as they need the recordings to go with them, and the recordings  
are not in the DB.  If you backup the DB (but not the mailstore) and a  
user had set the "use the out-of-office greeting", but the user had  
recorded a custom out-of-office greeting--if you restore the DB but not  
the recording the mailbox is in a more messed up state than not.

That was originally what mailboxprefs was for, to store that stuff, per  
user, in the mailstore itself where it would get backed up per user.  It  
also had the e-mail information in it, because at the time only sipXvxml  
and the CGI scripts dealt with e-mail, sipXconfig wasn't part of that at  
all.  When the user portal sprang into existence, it kept the e-mail stuff  
in mailboxprefs...but it shouldn't have.  Later more e-mail stuff got  
added to mailboxprefs, and that shouldn't have either.

So I still think you have it backwards, the e-mail information should be  
moved out of mailboxprefs, and the greeting states should be only in  
mailboxprefs and not in the  Postgres DB (thus not saved by sipXconfig),  
and the User Portal should call sipXivr to read/change it.  sipXconfig  
should try to reach out and touch the mailstore directory as little as  
possible.

Now, where to put the e-mail stuff (and other per-user stuff that the user  
can change directly), is a question for another day.  I think we all agree  
that ValidUsers.xml isn't the right place, but where is the right place?

--Woof!
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to