Regenerate provisionning configuration

Hi,

is there a way to regenerate configuration from xivo-provd-cli ?

I updated one of my base file in my plugin to adjust phone configuration (CTI server on grandstream), i want to deploy it asap but i don’t know how to force the configuration update without modify something on the wazo user.

I restarted my xivo-provd service.

Looking through documentation i can’t manage to find helps on commands

thanks for the help

Hello!

If you want to regenerate all the config for all devices, do the following, but if you get an error about recurse=True just remove it:

for device in devices.find(recurse=True):
  devices.reconfigure(device['id'])

Thank you!

Thank you so much ! Nice way for finishing this week, it’s going to save me a lot of time