在ubuntu下安装openser 1.3.1

很容易,但配置就较麻烦了:

1 与mysql数据库的连接,不是用 /usr/local/sbin/openser_mysql.sh create (1.2.2)

而是用 /usr/sbin/openserdbctl create,并需要先配置好数据库是使用MYSQL。

2 加载 ACC 会出错

rc_read_config: can't open /usr/local/etc/radiusclient-ng/radiusclient.conf: No such file or directory

需要注释掉 配置文件中的
引用:
#loadmodule "acc.so"

# ----- acc params -----

#modparam("acc", "early_media", 1)
#modparam("acc", "report_ack", 1)
#modparam("acc", "report_cancels", 1)

#modparam("acc", "detect_direction", 0)

#modparam("acc", "failed_transaction_flag", 3)
#modparam("acc", "log_flag", 1)
#modparam("acc", "log_missed_flag", 2)

#modparam("acc", "db_flag", 1)
#modparam("acc", "db_missed_flag", 2)