这里会显示出您选择的修订版和当前版本之间的差别。
| 后一修订版 | 前一修订版 | ||
|
zh:新手上路:添加团队 [2012/01/16 05:22] songxx 创建 |
zh:新手上路:添加团队 [2017/12/12 03:05] (当前版本) |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ======安装时需要的信息====== | + | ====== 添加团队 ====== |
| - | * 程序代码 | + | |
| - | * 数据库用户名密码 | + | |
| <note tip> | <note tip> | ||
| - | 本案例中假设mysql用户名为root,密码为passw0rd | + | **本文目标:上一章里我们概述了一下基本的模块创建流程,为了使客户初步了解系统内各个模块的功能及使用方法,我们将逐步介绍各个模块间的作用和创建方法。首先我们先来创建团队** |
| </note> | </note> | ||
| - | * web代码安装的路径 | ||
| - | <note tip> | ||
| - | 本案例中假设web安装路径为/home/demo.astercc.com/html | ||
| - | </note> | ||
| - | * [[asterisk的AMI用户名密码]] | ||
| - | <note tip> | ||
| - | 本案例中假设asterisk ami用户名为astercc,密码为astercc | ||
| - | </note> | ||
| - | |||
| - | ======使用安装脚本安装====== | ||
| - | <note warning> | ||
| - | 安装astercc将会破坏原有的asterisk gui | ||
| - | </note> | ||
| - | <code> | ||
| - | wget http://astercc.org/download/astercc10_beta_rc1.tar.gz | ||
| - | tar zxvf astercc10_beta_rc1.tar.gz | ||
| - | cd astercc10_beta_rc1 | ||
| - | chmod +x install.sh | ||
| - | ./install.sh | ||
| - | </code> | ||
| - | <file> | ||
| - | ***************************************************************** | ||
| - | ****************** Installing astercc package ******************* | ||
| - | ***************************************************************** | ||
| - | group asterisk already present | ||
| - | user asterisk already present | ||
| - | Please enter database information | ||
| - | database host(default localhost): | ||
| - | database port(default 3306): | ||
| - | database name(default astercc10): | ||
| - | table prefix(default cc10): | ||
| - | database user name(default root): | ||
| - | database user password(default null):passw0rd | ||
| - | database bin path(default /usr/bin): | ||
| - | If database:'astercc10' is not exists, press 'y' to create, | ||
| - | else press 'n' to skip this step:y | ||
| - | Please enter the Asterisk infomation: | ||
| - | Asterisk Host(default 127.0.0.1): | ||
| - | Asterisk Manager API port(default 5038): | ||
| - | AMI User name:astercc | ||
| - | AMI User password:astercc | ||
| - | Please enter install directory for astercc | ||
| - | astercc directory(defalut /var/www/html/astercc):/home/demo.astercc.com/html | ||
| - | Please enter absolute path of asterisk etc | ||
| - | asterisk etc (default /etc/asterisk): | ||
| - | SETTING FILE PERMISSIONS... | ||
| - | Please choose the system default language | ||
| - | en or cn (default en):cn | ||
| - | Setting asterisk run as user:asterisk/group:asterisk | ||
| - | Are you want to load demo data to new astercc | ||
| - | Press 'y' to load demo data:y | ||
| - | Restarting asterisk... | ||
| - | Stopping safe_asterisk: [ OK ] | ||
| - | Shutting down asterisk: [ OK ] | ||
| - | Starting asterisk: [ OK ] | ||
| - | Are you want to auto start astercc daemon when system startup? | ||
| - | Must be redhat-release system | ||
| - | Press 'y' to auto start:y | ||
| - | Are you want to start astercc daemon now? | ||
| - | Press 'y' to start:y | ||
| - | starting asterccd... | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: astcc_status started | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: astcc_realtime started | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: astcc_push started | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: astcc_datamover started | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: astcc_dialer started | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: asterccc started | ||
| - | /opt/asterisk/scripts/astercc/asterccd start: astcc_watchdog started | ||
| - | ***************************************************************** | ||
| - | *******************astercc install finished********************** | ||
| - | *****Your astercc web directory at /home/demo.astercc.com/html/app/webroot.****** | ||
| - | *****Your astercc daemon directory at /opt/asterisk/scripts/astercc.*** | ||
| - | ***************************************************************** | ||
| - | </file> | ||
| - | |||
| - | ======手动安装====== | ||
| - | ======调整http服务设置====== | ||
| - | ====NGINX==== | ||
| - | 打开配置文件,调整一下新的路径 | ||
| - | <code> | ||
| - | vi /usr/local/nginx/conf/vhosts/demo.astercc.com.conf | ||
| - | </code> | ||
| - | 修改后的相应配置如下 | ||
| - | <file> | ||
| - | server | ||
| - | { | ||
| - | listen 80; | ||
| - | client_max_body_size 20M; | ||
| - | server_name demo.astercc.com; | ||
| - | index index.html index.htm index.php; | ||
| - | rewrite_log on; | ||
| - | |||
| - | root /home/demo.astercc.com/html/app/webroot; | ||
| - | |||
| - | # CakePHP rewrite rules | ||
| - | location / { | ||
| - | index index.php; | ||
| - | |||
| - | if (-f $request_filename) { | ||
| - | break; | ||
| - | } | ||
| - | if (!-f $request_filename) { | ||
| - | rewrite ^/(.+)$ /index.php?url=$1 last; | ||
| - | break; | ||
| - | } | ||
| - | } | ||
| - | |||
| - | location ~ .*\.(php|php5)?$ | ||
| - | { | ||
| - | fastcgi_pass 127.0.0.1:9000; | ||
| - | fastcgi_index index.php; | ||
| - | include fastcgi_params; | ||
| - | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | ||
| - | } | ||
| - | |||
| - | location ~ /\.ht { | ||
| - | deny all; | ||
| - | } | ||
| - | access_log /home/demo.astercc.com/log/access.log main; | ||
| - | } | ||
| - | |||
| - | </file> | ||
| - | |||
| - | * 修改完后重新载入nginx | ||
| - | <code> | ||
| - | /etc/init.d/nginx reload | ||
| - | </code> | ||
| - | ====Apache==== | ||
| - | * 修改运行目录,修改后的httpd.conf内容类似 | ||
| - | <file> | ||
| - | <VirtualHost *:80> | ||
| - | <Directory /home/demo.astercc.com/html/app/webroot> | ||
| - | Options FollowSymLinks | ||
| - | AllowOverride All | ||
| - | </Directory> | ||
| - | DocumentRoot /home/demo.astercc.com/html/app/webroot | ||
| - | ServerName demo.astercc.com | ||
| - | ErrorLog /home/demo.astercc.com/log/error_log | ||
| - | CustomLog home/demo.astercc.com/log/access_log common | ||
| - | </VirtualHost> | ||
| - | </file> | ||
| - | * 增加htaccess文件 | ||
| - | 在webroot目录下建立.htaccess文件,内容如下 | ||
| - | <file> | ||
| - | <IfModule mod_rewrite.c> | ||
| - | RewriteEngine On | ||
| - | RewriteCond %{REQUEST_FILENAME} !-d | ||
| - | RewriteCond %{REQUEST_FILENAME} !-f | ||
| - | RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] | ||
| - | AddType application/x-javascript .js | ||
| - | AddType text/css .css | ||
| - | </IfModule> | ||
| - | </file> | ||
| - | ======使用admin账户登入====== | ||
| - | * astercc顺利安装完毕后,打开浏览器, astercc支持IE7以上 或者Firefox 3以上, 建议使用firefox | ||
| - | 因为我们的开发和测试工作主要是使用firefox完成的 | + | ==== 创建团队 ==== |
| - | [[http://www.mozilla.com?from=sfx&uid=307905&t=588|下载最新的firefox版本]] | + | 系统左侧管理列表下 点击[账户和权限管理]->[团队管理],进入下图所示页面进行添加团队: |
| - | * 输入网址,将看到如下界面 | + | {{:zh:team.png|}} |
| - | {{:zh:login_cn.jpg|登入界面}} | + | |
| - | * 登陆模式选择"账号模式",使用默认的管理员用户名和密码admin/admin登入,验证通过默认将看到系 | + | |
| - | 统信息界面 | + | {{:zh:高级资料1.png|}} |
| - | {{:zh:system_messages_cn.jpg|系统信息界面}} | + | |
| - | * 继续学习请进入[[快速入门]] | + | |
| + | 在设置这些信息之前,我们先来了解各项字段的含义,便于我们顺利创建团队 | ||
| - | ====安装中遇到的问题====== | + | **团队名称:**为该新创建的团队自定义名称,一般指集团公司的名字,业务的项目名称等等; |
| - | * 无法打开页面 | + | |
| - | * Site error: the file /var/www/html/astercc/app/webroot/index.php requires the ionCube | + | |
| - | PHP Loader ioncube_loader_lin_5.2.so to be installed by the site administrator. | + | **唯一标识:**则是标识自己团队的唯一注明,只有此标识才能代表这个团队名称,用于同其它团队进行区分辨别; |
| - | 当你看到这个错误, 意味着你没有载入 ioncube loader, 请打开 php.ini 确认文件中有如下内容 | + | **最大账号数目:**是指在这个团队下最多允许创建的账号的数目;如同以下最大坐席数目、最大分机数目、最大队列数目、最大会议室数目含义相同; |
| - | <file> | + | |
| - | zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so | + | |
| - | </file> | + | |
| - | 如果仍然出现错误,请重启apache或者php_cgi | + | **内线互相呼叫:**允许团队内的所有内线互相呼叫; |
| - | * 进程错误 | + | **对 象:**通过哪种形式进行拨出,系统默认两种形式,中继/中继组,选择中继就是选择一条可以拨出的线路,如voipstunt;选择中继组是多条已有线路的集合,为了呼出时可以指定多条中继,以便第一条中继拨不通的情况下自动使用下一条中继外呼; |
| - | * Cant not file license file | + | |
| - | 实际上这只是一个警告信息,当系统没有找到许可文件的时候,它将使用一个默认的许可 | + | |
| - | * 数据库错误 | + | <note warming> |
| - | * /usr/bin/mysqladmin: CREATE DATABASE failed; error: 'Can't create database | + | **中继:中继是语音中继线的简称,是呼叫中心连接电信运营商的公众电话网的通道,实现呼叫中心内部的电话呼叫与公众电话网的互通功能。 |
| - | 'astercc10'; database exists' | + | 中继组:是多余已有的中继线路的分组,统一管理已有中继线路,中继组是为了呼出时可以指定多条中继,以便第一条中继拨不通的情况下自动使用下一条中继外呼。 |
| + | **</note> | ||
| - | 22222222222222出现此信息表明数据库中已经存在了名为astercc10的数据库,请进入mysql删除此数据库后重新安装 | + | **中继/中继组:**在添加团队的时候只会列出系统中的中继/中继组(即没有指定给任何团队的中继/中继组),如果没有选项就不用选择此项,在以后我们将会具体给你讲解如何添加中继或中继组,根据实际情况再进行编辑。 |
| - | 222222222222222222222222222 | + | |
| - | * Perl 错误 | + | |
| - | Can't locate Config/IniFiles.pm in @inc... | + | |
| - | astercc中提供了一个叫做astcc_mailman.pl的perl程序,用于处理astercc中的邮件请求,为了正确使用这 | + | 其他选项以及高级资料里的各项信息可以选择性填写,“*”项为必须填写项,其余的可以根须需要自行选择填写,信息填写完毕后点击“保存”按钮。 |
| - | 个功能,您可以阅读[[安装 astcc_mailman]],另外这个文件是开源的。 | + | 关闭添加团队界面后,会看到我们添加的数据显示在数据列表中的首行。 |
| + | {{:zh:新手上路:团队.png?|}} | ||
| - | {{tag>:zh:安装}} | + | 双击这条新添加的数据,可以对此团队进行编辑修改操作。 |
| + | {{:zh:新手上路:编辑团队.png?|}} | ||
| + | 黑色字体代表可编辑,灰色字体代表不可编辑仅供查看。 | ||
| - | {{topic>:zh:错误}} | + | 这样团队就创建成功了,在这个团队下,我们接下来可以进行账号的添加,分机的添加,坐席的添加等,团队进行统一的管理,在此编辑界面下,我们就可以通过团队下的组内坐席、组内用户、组内分机随时进行查看各项的详细内容。 |
| - | **继续阅读[[添加团队]] | + | **继续了解[[权限和角色的管理]] |
| ** | ** | ||