[chan-capi-users] divas V3 issues

Armin Schindler armin at melware.de
Tue Feb 26 12:13:07 CET 2008


On Mon, 25 Feb 2008, Thomas Niesel wrote:
> Hi Armin
> Last weekend i upgrade to divas 3.0.10...
> I prepared everything during production to keep the
> downtime as short as possible.
> (kernel, asterisk, libpri, chan-capi ...)
> Then i shutdown the proccesses and installed the new versions.
> After reboot with new kernel my "start script" failed to start.
> (It loads the modules for the hardware and starts safe_asterisk)
>
> The divas_cfg refused to start due to config change for
> the new firmware, so asterisk crashed as a result and safe_asterisk started
> the whole mess over and over. (brrr)
>
> After killing safe_asterisk i had to run the Config for all 5 Controllers :(
> This took quite some time to verify the right settings.
>
> My questions are:
> -is it possible to generate a config in advance even on
> a system with no diva hardware?

You can generate a config, but the hardware is needed. When you call
Config, a running system should not be affected.

> -is it possible to get a plain text dump of the config to save it
> somewhere for restore/compare?

The configuration is saved in the file divas_cfg.rc as XML code.
It starts at
  # XML_CFG_START
in the file.
Or the shell variables at
  # SHELL_CFG_START

> Note on the divas makefile:
> It looks like that a <make install> does a <make clean && make && make install>
> So it saves no time to split the procedure.

Yes, I already noticed that. The Makefile dependencies and targets are not 
written correctly, so that make things all need to be build again.
I will see to change that for future versions.

Armin


More information about the Chan-capi-users mailing list