> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of > Krzeminski, Damian (BL60:9D30) > Sent: Friday, September 18, 2009 4:39 PM > To: [email protected] > Subject: Re: [sipX-dev] Question on replicating XML files > > David Saint wrote: > > If I'm creating a new XML file that will be replicated how > do I decide > > whether it belongs in /var/sipxdata/sipdb or /etc/sipxpbx ? Am I > > correct in my understanding that /var/sipxdata/sipdb files > get stored > > in the database, but /etc/sipxpbx files are meant to be > more dynamic? > > > > It's up to you how do you want to store information. You can > opt for a new table in IMDB or for a new configuration file. > But if you choose new table you should not read anything from > /var/sipxdata/sipdb - there is API that should be used to read IMDB. > > I do not really know when IMDB is better and when > configuration is better. > > > I'm trying to create a new file conferencebridge.xml that will hold > > information about the conference bridge (conference name, extension, > > owner) for use by the Conference Recording feature XX-5594. > This file > > will get replicated to the conference server. > > > > Thanks... > > Dave. >
Thanks for the responses, for now I'm using the IMDB (using the normal API) and the file is getting created in /var/sipxdata/sipdb, but I had doubts if that was the right thing to do (although it seems to work fine). I guess I'll go with that for now. Dave. _______________________________________________ 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/
