Category

asterBilling

使用asterbilling 对 freepbx(asterisk) 分机的accountcode计费

By | asterBilling, 呼叫中心使用技巧, 呼叫中心教程 | No Comments

asterbilling 0.15 in asterCC 0.21 beta 以上的版本支持对分机的 accoutcode 进行计费,下面以freepbx+asterilling 为例进行简要说明:

假设你在freepbx中已设置了中继和出局路由。现在我们在freepbx中添加一个sip分机

添加成功后,编辑这个分机为其设置accountcode

然后我们需要设置astercc对accoutcode进行计费:

首先编辑/opt/asterisk/scripts/astercc/astercc.conf,在[system]部分设置 billingfield= accountcode

然后我们要重启( /etc/init.d/asterccd resstart )

登录asterbilling 以accountcode模式添加分机

以组管理员或操作员身份登录asbilling进行测试

asterbilling中如何为代理商指定呼出中继并使用备用中继

By | asterBilling, 呼叫中心使用技巧 | No Comments

asterbilling-0.12 使用reselleroutbound.agi 可以让不同的代理使用指定的中继进行外呼,并且新增支持为代理商指定一个备用中继

使用方法如下:

a) 添加一个dialplan来执行reselleroutbound.agi, 在astercc软件包中的scripts目录提供了一个extensions_astercc.conf文件,其中[asterbilling- outbound] 是用于执行reselleroutbound.agi的context,,如果你是通过install.sh安装astercc的,该文件会被复制到你的 asterisk etc目录下,并在extensions.conf 增加一行“#include extensions_astercc.conf”,此时你可以直接使用extensions_astercc.conf中的context,当然如果你 使用的是asterCC-Box, 情况也是一样的。如果不是以上两种情况安装的astercc,你就需要手动复制extensions_astercc.conf 到你的asterisk etc目录(一般会是/etc/asterisk 你知道的),并在extensions.conf中包含它们(#include extensions_astercc.conf,如果是基于freepbx的系统请将这句加到extensions_custom.conf中)

extensions_asterccconf112

b)设置代理商中继

reseller_trunk1

reseller_trunk1

中继1为首先中继,中继2为备用中继,如果通过中继1拨号失败,则尝试使用中继2呼出

设置中继时有自动,默认,自定义 三种类型可选:

自动:reselleroutbound.agi 不做任何处理,直接进入context下面的流程

默认:是使用asterbilling.conf.php 中[resellertrunk] 部分设置的系统默认中继,此处可设置两个系统默认中继,如:

[resellertrunk] trunk1_type = sip
trunk1= reselleroutbound1
trunk2_type = sip
trunk2= reselleroutbound2

自定义:手动添加中继,按实际中继情况添加中继信息,并指定该当为代理商使用,保存后需点击页面中的”重新载入”按钮来生成asterisk配置文件

reseller_trunk2

reseller_trunk2
初次添加中继时,重载后,将生成两个配置文件:sip_astercc_registrations.conf 和 sip_astercc_trunks.conf , 如果你使用的不是asterCC-BOX,则需要将这两个文件include到sip.conf的相应位置(如果使用的是基于freepbx的系统请增加行#include sip_astercc_registrations.conf 到 sip_registrations_custom.conf中,增加行#include sip_astercc_trunks.conf 到sip_custom.conf中,并reload asterisk , 再次添加中继时,则只需点击”重新载入”按钮 即可
索克维尔旗下产品 · CXMind AI联络中心 · WCC全渠道联络中心