some configuration file refactoring for xivo-dird