How can I control FreePBX from command line?

Hi

I want to let FreePBX regenerate all configuration files after I changed the databse of FreePBX. Dose anyone have any ideas?

Best Regards

This has been covered in a few forum messages before so searching for it and reading all the threads is recommended.

The general directions are as follows: DO NOT edit the databases directly. use get and put http calls to set the values needed via http as a safe way to do things. There is a API and it is discussed, but the underlying database changes from time to time so unless you are a part of the development team it is considered a very bad thing to do.

Serch for how to programatically apply changes I think will get you what you are after.