FOP2 with vanilla asterisk 11 - some doubts

We are testing FOP2 with our asterisk 11. It's a vanilla installation.

After a few days of testing we need some guide with the settings of FOP2.

We read all the documentation and see all the differents paths to tb a elastix, freepbx, etc but we dont's see clearly what is the settings for vanila asterisk, and for this we have some doubts.

If we have a vanilla asterisk we can use FOP2Manager and the mysql databases for save all configurations ? If the answer is yes, how? We try to modify files manually but we have not achieved.

Or we must use manual configuration through buttons.cfg and fop2.cfg?

Maybe all our doubts is our ignorance of fops2 thus we want to ask you.


On the other hand, we want to have all components in differentes servers (asterisk, fop2 daemon, fop2 user/manager). Is it possible? We want to deploy it with docker and this is the first step to do this.

Thanks in advanced for your product.

Comments

  • Hi,

    You can chose to use the FOP2 Manager or to write manual configuration files. That is up to you. If you use the manager, you will have to adapt the functions-custom.php to suit your needs. Vanilla asterisk can be configured in many different ways, and as such you will have to write your own function to read those configuration files and return an array with data that can be used to populate the FOP2 databases. You can use the bundled functions-custom.php or functions-astdb.php as a base, the file should read files or database to get extension, trunk, conference, etc, and populate an array that it must return.. it is not that hard to read the bundled functions-xxx files to adapt.

    Or you can use manual configuraiton as described in the online docs, writing a buttons.cfg file and adding user=xxx lines in fop2.cfg. You can also write your own set of auto configuration scripts that can read information from anywhere, as long as the output is valid FOP2 configuration definitions.

    As for components on different servers, FOP2 can very well be installed on a separate server, but it must have access to the DB or config files in Asterisk in order to then generate or derive its own configuration files (if you use the fop2 manager). If you use file based configuration in Asterisk.

    Best regards,



  • Ok

    I understand, and with your comments we expect to set FOP2 and test it with our agents.

    Thanks for your support.
  • No problem, if you need guidance about tweaking functions-custom.php, you can find me to chat on the live help from time to time. I am online now.
    Best regards,
Sign In or Register to comment.