Trixbox2.2+webmeetme2.2

编译cbmysql需要asterisk的源码。出了一个error: /usr/bin/ld: cannot find -lpq,google一下,原来要安装postgresql-devel,即使你不用postgresql。照着readme做,设了一个接入号,拨过去什么声音都没有,过了几秒自动挂断。搞了一整天。后来看/var/log/asterisk/full中启动asterisk时提示:ERROR[10018] app_cbmysql.c: Failed to connect to mysql database meetme on localhost. 发现/etc/asterisk/cbmysql.conf中有一句sock=/var/run/mysqld/mysqld.sock ;sock file for debian,系统中根本没这个文件,看来是debian系统用的,把它注释掉,就好了。

原文地址:https://www.cnblogs.com/amonw/p/950596.html