Ring Groups
Menu: Apps -> Ring Groups
Ring Groups can be set up to ring multiple registered endpoints.
Installation
Ring groups use the database to get the list of destinations to call on demand.
SQlite and Postgres databases can be read natively. MySQL requires ODBC.
Setup ODBC according to: http://wiki.freeswitch.org/wiki/Using_ODBC_in_the_core
Create an ODBC connection for the FusionPBX database. Usually give the DSN name fusionpbx.
In FusionPBX go to the menu Advanced -> Databases.
- Driver: odbc
- Type: mysql or postgres
- Name: fusionpbx (the name of the ODBC DSN)
- username: use the database username
- password: use the database password
NOTE: Do not enter hostname, port or any fields other than those listed above. Doing so may result in DB connectivity errors, such as "DBH NOT Connected" in FS_CLI
After saving the FusionPBX ODBC DSN information in Advanced -> Databases it will create a config.lua script. You can view the config.lua file with the script editor. To get to the script edit use the menu navigate to Advanced -> Script Editor. From the script editor look in the resources directory. Click on the config.lua you should see the information you provided in the Databases tool. If you are looking for the config.lua file from the file system its in the freeswitch/scripts/resources directory.
Troubleshooting
To troubleshoot ring groups should check the FreeSWITCH cli to see if you are getting errors.
File permissions can prevent the file from being updated. Make sure that the web server has access to write tot he freeswitch/scripts directory and sub-directories.
Test the odbc connection with isql fusionpbx being the name of the DSN you may also need to provide the username and password to the database.
isql -v fusionpbx username password