https://blog.csdn.net/qq_38631503/article/details/80005454 Sip服務器搭建全過程(Linphone撥號)
http://www.linphone.org/technical-corner/linphone?qt-technical_corner=2#qt-technical_corner linphone下載(迅雷下載)
http://www.opensips.org/Resources/Downloads opensips http://download.opensips.org opensips tar包下載(迅雷下載)
https://blog.csdn.net/u011026329/article/details/50821679 ubuntu下opensips安裝配置 供安裝失敗參考
https://blog.csdn.net/u011026329/article/details/50821679 出錯參考 ERROR: PID file/var/run/opensips.pid does not exist -- OpenSIPS
https://blog.csdn.net/lhh1002/article/details/6131733 出錯參考 1130-host ... is not allowed to connect to this MySql server,MySQL不允許從遠程訪問的方法
錯誤及解決方法:
ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed
sudo touch /var/run/opensips.pid
sudo sbin/opensipsctl start
INFO: Starting OpenSIPS :
root 6614 13366 0 11:24 pts/4 00:00:00 sudo sbin/opensipsctl start
root 6615 6614 0 11:24 pts/4 00:00:00 /bin/bash sbin/opensipsctl start
root 6635 6615 0 11:24 pts/4 00:00:00 grep -E opensips
-rw-r--r-- 1 root root 0 May 26 11:24 /var/run/opensips.pid
INFO: PID file exists (/var/run/opensips.pid)! OpenSIPS already running?
ts_cwt@ts02:/usr/local/opensips$ sudo sbin/opensipsctl restart
INFO: Restarting OpenSIPS :
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
INFO: stopped
INFO: Starting OpenSIPS :
root 6655 13366 0 11:24 pts/4 00:00:00 sudo sbin/opensipsctl restart
root 6656 6655 0 11:24 pts/4 00:00:00 /bin/bash sbin/opensipsctl restart
root 6680 6656 0 11:24 pts/4 00:00:00 grep -E opensips
-rw-r--r-- 1 root root 0 May 26 11:24 /var/run/opensips.pid
INFO: PID file exists (/var/run/opensips.pid)! OpenSIPS already running?
/usr/local/opensips/sbin$ sudo ./opensipsdbctl create
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '192.168.x.xxx' is not allowed to connect to this MySQL server
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1130 (HY000): Host '192.168.x.xxx' is not allowed to connect to this MySQL server
WARNING: Failed to get the available and used character sets
錯誤及解決方法:
sudo mysql -u root -p
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '1' WITH GRANT OPTION;
Query OK, 0 rows affected, 1 warning (0.00 sec)
mysql> \q