Freeswitch 自由开关-它没有';t使用xml\u mod\u curl连接MySQL数据库
安装FreeSwitch后,我尝试使用xml\u mod\u curl连接用户帐户。我按照下面的说明连接MySQL数据库 我可以看到,它实际上读取XML以使用1000-1019用户名登录SIP帐户。然而,它看起来不像连接MySQL数据库。我无法登录MySQL列中保存的新用户和新密码 下面是global_defines.phpFreeswitch 自由开关-它没有';t使用xml\u mod\u curl连接MySQL数据库,freeswitch,Freeswitch,安装FreeSwitch后,我尝试使用xml\u mod\u curl连接用户帐户。我按照下面的说明连接MySQL数据库 我可以看到,它实际上读取XML以使用1000-1019用户名登录SIP帐户。然而,它看起来不像连接MySQL数据库。我无法登录MySQL列中保存的新用户和新密码 下面是global_defines.php if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) { header('Location: ind
if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) {
header('Location: index.php');
}
/**
* Defines the default dsn for the FS_PDO class
*/
define('DEFAULT_DSN', 'mysql:dbname=FS_DB;host=127.0.0.1');
/**
* Defines the default dsn login for the PDO class
*/
define('DEFAULT_DSN_LOGIN', 'root');
/**
* Defines the default dsn password for the PDOclass
*/
define('DEFAULT_DSN_PASSWORD', 'mypassword');
/**
* Generic return success
*/
define('FS_CURL_SUCCESS', 0);
/**
* Generic return success
*/
define('FS_SQL_SUCCESS', '00000');
/**
* Generic return warning
*/
define('FS_CURL_WARNING', 1);
/**
* Generic return critical
*/
define('FS_CURL_CRITICAL', 2);
/**
* determines how the error handler handles warnings
*/
define('RETURN_ON_WARN', true);
/**
* Determines whether or not users should be domain specific
* If GLOBAL_USERS is true, user info will be returned for whatever
* domain is passed.....
* NOTE: using a1 hashes will NOT work with this setting
*/
define('GLOBAL_USERS', false);
这篇指导文章是两年前写的。似乎应该还有一个选项来打开我的SQL连接。我错过什么了吗