sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xfb40d3e6508ea4c8
sudo vim /etc/apt/sources.list
deb http://deb.kamailio.org/kamailio precise main
deb-src http://deb.kamailio.org/kamailio precise main
sudo apt-get update
sudo apt-get install kamailio kamailio-mysql-modules
vim /etc/kamailio/kamctlrc
SIP_DOMAIN=server的IP或domain_name
把這一行設定的註解移掉
DBENGINE=MYSQL
修改 DB 預設的密碼
DBRWPW="dbpassword"
DBROPW="dbpassword"
/usr/sbin/kamdbctl create
kamailio 預設密碼 kamailiorw
有 'kamailio' database 完整權限
kamailioro 預設密碼 kamailioro
有 'kamailio' database read-only 權限
sudo kamctl start
vim /etc/kamailio/kamctlrc
SIP_DOMAIN=server的IP或domain_name
把這一行設定的註解移掉
DBENGINE=MYSQL
修改 DB 預設的密碼
DBRWPW="dbpassword"
DBROPW="dbpassword"
/usr/sbin/kamdbctl create
kamailio 預設密碼 kamailiorw
有 'kamailio' database 完整權限
kamailioro 預設密碼 kamailioro
有 'kamailio' database read-only 權限
sudo kamctl start
沒有留言:
張貼留言