1

我正在尝试与 Kamailio 和 Freeswitch 合作。我正在关注此处列出的文章:

http://nil.uniza.sk/sip/kamailio-33-and-freeswitch-122-interconnection-voicemail-and-conference-services-debian-squeeze-60-64bit-tutorial

添加 #!define 语句后,文章说尝试重新启动 kamailio。当我这样做时,它失败并出现错误:

driver error:  Access denied for user 'kamailio'@'localhost' (using password: YES)

我不确定哪个配置文件将包含用于登录 mysql 的默认用户的名称。我确实对 kamctlrc 进行了建议的更改,您在其中定义了 dbhost、dbname 和读写用户等。但是这些设置都没有引用这个用户“kamailio”。不知道在哪里检查。

谢谢。

4

1 回答 1

2

Upon closer examination, I found that not only do I have an /etc/kamailio/kamailio.cfg file but /etc/kamailio/kamailio-advanced.cfg.

I made the changes the article suggested for kamailio.cfg in kamailio-advanced.cfg instead... and all is well. I was able to start the service again. I'm not sure if the database will work but at least I'm one step closer and now authentication is working.

于 2014-03-24T13:21:25.743 回答