如何更新asterCC的许可

默认情况下,astercc提供5路并发通道的许可,如果你需要更多并发,可以购买升级许可。

首先,进入astercc进程目录

cd /opt/asterisk/scripts/astercc

打开astercc.conf 文件,找到[licence]部分,你可以看到如下三个参数:

[licence]
licenceto =
key =
channel = 5

修改 “channel” 等于你需要的并发通道数,”licence to” 参数填写你的公司/组织名称

[licence]
licenceto = 公司名
key =
channel = 50

保存并关闭文件,然后进行本目录下的astercc进程,你将会看到类似下面的两行提示:

[dev01 astercc]# ./astercc
Invalid key, please contact the administrator
identity = b0a5ebca13556ca9ca91813dd88dfgd9

now send this identitykey and all content in licence section (licenceto and channel) to astercc, we’ll send you back the licence key, then update your astercc.conf with the licence key, restart astercc & asterrc daemons. If no error message output, your astercc support more simultaneous “50” channels now.

接下来你需要做的是,将identity 以及上面所填写的”licence to” 和 “channel” 内容发送给我们,我们会发送新的许可给你,收到许可后,将许可密钥更新到astercc.conf的[licence]部分中的”licence key”参数中,重启astercc进程,如果没有错误提示,说明许可已经成功更新,你的astercc已经可以支持“50”路的asterisk并发呼叫。

无相关文章.