📄 install_ui.txt
字号:
******************************************************************** ASTERISK2BILLING : CALLING CARD PLATFORM********************************************************************Name: Asterisk2Billing / Admin Web InterfaceAuthor: Belaid Arezqui <areski at gmail dot com>Date: 7 May 2007[Tested with $PHP 4.3.10 ; $PostgreSQL 7.4.6 ; mysql-3.23 ; mysql-4.1.x][Tested with $PHP-5.0.4 ; $PostgreSQL-8.0.4 ; mysql-5.x]INSTALLATION GUIDE OF THE ASTERISK2BILLING WEB APPLICATION :====================================================================DocumentRoot "/var/www/html/test"1. Place the entire content of this directory into your DocumentRoot directory of your web server. cp -r * /var/www/html/a2billing FROM httpd.conf # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # 2. Ensure that you have create the Database with the right schema mysql or postgresql3. Setup your Database into the application Copy & Edit /etc/asterisk/a2billing.conf files * HOST: This is the Database host name. Example: localhost * PORT: Database port. Example: 5432 * USER: Username to access to the database. Example: username * PASS: Database password of the user. Example: password * DBNAME: Name of the Database. Example: a2billing * DB_TYPE: Database type. support: postgres & mysql # THERE IS MORE PARAMETERS, PLEASE CHECK THE COMPLETE CONF FILE AND READ THE INFORMATION ASIDE 3.1 Set the permissions for /etc/asterisk ( in Debian use www-data instead of apache ) chown -R asterisk:apache /etc/asterisk chmod -R 774 /etc/asterisk 4. Have fun :D------------------------------------------------------------MusicOnHold Custom !add in /etc/asterisk/musiconhold.conf; class definitions For AreskiCCacc_1 => mp3:/var/lib/asterisk/mohmp3/acc_1acc_2 => mp3:/var/lib/asterisk/mohmp3/acc_2acc_3 => mp3:/var/lib/asterisk/mohmp3/acc_3acc_4 => mp3:/var/lib/asterisk/mohmp3/acc_4acc_5 => mp3:/var/lib/asterisk/mohmp3/acc_5acc_6 => mp3:/var/lib/asterisk/mohmp3/acc_6acc_7 => mp3:/var/lib/asterisk/mohmp3/acc_7acc_8 => mp3:/var/lib/asterisk/mohmp3/acc_8acc_9 => mp3:/var/lib/asterisk/mohmp3/acc_9acc_10 => mp3:/var/lib/asterisk/mohmp3/acc_10mkdir -p /var/lib/asterisk/mohmp3/acc_1mkdir -p /var/lib/asterisk/mohmp3/acc_2 ...chown asterisk:apache /var/lib/asterisk/mohmp3/acc_*chmod 774 /var/lib/asterisk/mohmp3/acc_** Set asterisk user and apache group permissions ( in Debian use www-data instead of apache )mkdir -p /var/lib/asterisk/sounds/a2billingchown asterisk:apache /var/lib/asterisk/sounds/a2billingchmod 774 /var/lib/asterisk/sounds/a2billing---------------- MANAGER. CONF --------------------------[general]enabled = yesport = 5038bindaddr = 127.0.0.1[myasterisk]secret = mycode;deny=0.0.0.0/0.0.0.0;permit=209.16.236.73/255.255.255.0read = system,call,log,verbose,command,agent,userwrite = system,call,log,verbose,command,agent,user
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -