Kollipara, Seshu-Babu AVAYA (AMR:9T40) wrote: > Hi All, > > This is regarding place of sipxacd.xml replication during restore. Issue > http://track.sipfoundry.org/browse/XX-5875 . > > Currently during restore the statement > getServiceConfigurator().replicateAllServiceConfig() in > DomainManagerImpl -> saveDomain method replicates all the configuration > files but it doesn't replicate sipxacd.xml. > Assuming that sipxacd.xml will also need replication(like all other > services) after any change in domain, is it fine if replication for > sipxacd.xml is done after > getServiceConfigurator().replicateAllServiceConfig() ?
We shouldn't have DomainManger replicate specific individual configurations files directly. One of the ways to do it is to use the DaoEventListener interface to listen for the events you are interested in, in this case a domain change, and replicate the configuration there (See AcdContextImpl for examples on this). Now, this is one way to do it, I have not had a chance to look at in detail, so there might be a better way. Arjun _______________________________________________ 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/
