FreePBX / framework

This module provides a facility to install bug fixes to the framework code that is not otherwise housed in a module
http://www.freepbx.org
GNU General Public License v3.0
64 stars 64 forks source link

Adding check if dsn port is already defined before loading defaults #168

Closed mjrider closed 3 weeks ago

mjrider commented 1 month ago

This fixes the problem in https://github.com/FreePBX/issue-tracker/issues/499

Specifically for the database connection for the CDR, the setting from the configuration is ignored and the default is loaded.

In this case, if the port is already supplied, use it.