Ring Groups

From FusionPBX
Revision as of 02:20, 15 December 2012 by Mcrane (talk | contribs) (Troubleshooting)
Jump to: navigation, search

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 databases can be read natively. MySQL and Postgres require 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

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