vicidial Asterisk Central Queue System

1,客户端查入一条新记录,状态为"NEW",包括CallerId,ORIGINATE/REDIRECT指令

  1. First, the GUI client application inserts a record into the table as a NEW action and includes a unique callerID for REDIRECT and ORIGINATE commands(the
callerID field is how the listener will update the record in the DB) INSERT INTO vicidial_manager values('','','2004-01-30
17:22:53','NEW','N','10.10.11.12','','Originate','DL40130172253cc160','Channel: local/8600011@demo','Context: default','Exten: 917274515135','Priority:
1','Callerid: DL40130172253cc160','','','','','');

2,后台常驻程序,如果队列中有数据,将从队列中选中一条,同时生成一个子进程来处理这条数据,更新为"SENT",

2. Second, there is a constantly running application on the Asterisk box that selects queues from the database to be processed, and launches a new child
script to send the action to the database, then marks the action as SENT.

3,每个子进程登录进入Asterisk,运行这个命令,并且停留10秒,然后退出;

  3. Third, each child process logs into the manager interface and sends the action immediately, then stays open for 10 seconds to not cause any problems,
clears it's buffer and then logs out and exits.

4,后台常驻监听程序从AMI接口,处理Asterisk的输出.当"Newstate Ringing"事件出现时,后台发出一条更新语句,  根据通道的CallerId,Uniqueid条件,这条数据的状态更新为"UPDATED"

4. Fourth, the listener app is constantly connected on the Asterisk box to the manager interface and parses all output from the manager interface. Every time a
"Newstate Ringing" event is seen an update statement is sent to the DB based upon the callerid of the call filling in the channel that the call is on and the
uniqueID of the call and sets the record to "UPDATED"

5, 后台常驻监听程序同时处理,当"Hangup"事件出现时,后台发出一条更新语句,状态为"DEAD"

5. Fifth, the listener also listens for "Hangup" events and sends an update to the DB with a "DEAD" status keyed by the call's uniqueID.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
一、更新说明 该汉化包基于上一个汉化版vicidial.cn.1.01(即英文原版Vicidal 2.2.1-237 BUILD: 100510-2015) 版本进一步汉化了vicidial admin管理系统。安装方式如下: 更新内容: 1、vicidial管理后台的坐席:数据统计、坐席状态、时间表 2、vicidial管理后台的客户清单:导入lead 3、vicidial管理后台的呼入组:语音导航 4、vicidial管理后台的坐席组:小时报表、迁移 5、vicidial管理后台的管理:系统设定、电话小结、语音邮箱、语音库 6、vicidial管理后台补充和修改一些字段的中文解释 7、改进了vicidial管理后台UI。 二、安装方法 1、初次安装直接解压后,找到dosc目录下的SCRATCH_INSTALL.txt安装文档进行安装。 2、如果您已经安装了该系统,请先确认系统大版本是否为astguclient.2.2.1或者是我们vicidial.cn.1.01汉化版,如果符合则将www目录下的agc_cn和vicidial_cn目录拷贝到www,并修改权限为775。 3、安装成功后,后台访问地址:http://localhost/vicidial_cn/admin.php 默认管理帐号:6666 ,密码1234。坐席系统地址:http://localhost/agc_cn/vicidial.php 下个版本计划: 一、汉化Vicidial220页配置手册,便于爱好者上手。(预计发布日期:2011-12-20) 最好,多谢你对我们的支持,如果你想了解更多这套开源的解决方案请关注我们的官方论坛http://www.cnvicidial.com , 也可以加入我们的QQ群:80689817
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值