採用install.sh安裝腳本進行快速安裝astercc

在asterisk裏嵌入astercc最好的安裝方法是腳本安裝php

採用install.sh安裝腳本進行快速安裝astercchtml

設置install.sh執行權限(腳本默認在程序的根目錄下)mysql

   chmod +x ./install.shweb

進入安裝嚮導sql

   Please enter database information數據庫

   database host(default localhost): apache

   設置數據庫地址,默認爲 localhost服務器

   database port(default 3306):spa

   設置數據庫鏈接端口,默認爲:3306orm

   database name(default astercc):

   設置數據庫名,默認爲astercc

   database user name(default root):

   設置數據庫鏈接用戶,默認爲root

   database user password(default null):eLaStIx.2oo7

   設置數據庫鏈接密碼

   database bin path(default /usr/bin):

   設置mysql的程序路徑,默認指定 /usr/bin

 

Please enter the Asterisk infomation:

   Asterisk Host(default 127.0.0.1):

   設置Asterisk服務器地址,默認爲127.0.0.1

   Asterisk Manager API port(default 5038):

   設置Asterisk的AMI端口默認爲5038

   AMI User name:

   AMI用戶名 admin

   AMI User password:

   AMI密碼 elastix456

   Please enter main html directory for astercc

 

Are you want to auto start astercc daemon when system startup?

   Must be redhat-release system

   "Press 'y' to auto start

   設置是否系統啓動時加載astercc進程,輸入Y爲贊成

   Are you want to start astercc daemon now?

   "Press 'y' to start:"

   是否如今就啓動,輸入Y爲贊成

AMI

admin

elastix456

 

能夠查看相關的配置文件:/opt/asterisk/scripts/astercc/astercc.conf

[database]

 Database connection parameter

dbtype = mysql

dbport = 3306

dbhost = localhost

dbname = astercc

username = root

password = eLaStIx.2oo7

[asterisk]

 Asterisk connection parameter

server = 127.0.0.1

should be matched in manager.conf

port = 5038

username = admin

secret = elastix456

; Recorded file path, if you want to lisens records from web,

; the path must could be read by apache and allow php to exec

monitorpath = /var/spool/asterisk/monitor/

; gsm,wav

monitorformat = wav

安裝成功後就有了astercc的asterCMR和asterBilling兩大功能了。

相關文章
相關標籤/搜索