系統需求:
安裝 Java Runtime 1.7
檔案下載:http://java.com/zh_TW/download/manual.jsp
NOTE:下載適合的 32-bit 或 64-bit 版本
# rpm -qa | grep -i jre jre-1.6.0_18-fcs # yum remove jre-1.6.0_18-fcs # rpm ivh jre-7u55-linux-x64.rpm # java -version java version "1.7.0_55" Java(TM) SE Runtime Environment (build 1.7.0_55-b13) Java HotSpot(TM) 64-Bit Server VM (build 24.55-b03, mixed mode)
安裝 Vtiger Asterisk Connector
下載位址:https://www.vtiger.com/add-ons/
wget https://www.vtiger.com/products/apps/VtigerAsteriskConnector/VtigerAsteriskConnector-1.1.zip unzip VtigerAsteriskConnector-1.1.zip mv VtigerAsteriskConnector /opt cd /opt/VtigerAsteriskConnector/ vi conf/VtigerAsteriskConnector.properties
VtigerAsteriskConnector.properties:
// Location where the application server will be running. ServerIP = 0.0.0.0 ServerPort = 6666 StorageDir = //Location where the applications database files will be stored. AsteriskAppDBPath = // Asterisk Server Details AsteriskServerIP = 127.0.0.1 AsteriskServerPort = 5060 AsteriskUsername = vtiger AsteriskPassword = vtiger_pass // Vtiger CRM URL VtigerURL = <從 VtigerCRM 複製> VtigerSecretKey = <從 VtigerCRM 複製>
編輯 /etc/asterisk/manager_custom.conf
[vtigercrm] secret = vtigercrm_pass deny = 0.0.0.0/0.0.0.0 permit = 127.0.0.1/255.255.255.0 read = all write = all