1.动态添加队列成员
queue add member SIP/809 to 900
queue remove member SIP/808 from 900
2.各状态查询
asterisk -rx"database show CF"
/CF/806 : 18925250976
示忙查询
asterisk -rx"database show DND"
/DND/806 : YES
无应答转移
asterisk -rx"database show CFU"
/CFU/806 : 18925250976
遇忙转移
asterisk -rx"database show CFB"
/CFB/805 : 803
/CFB/806 : 18925250976
3.版本记录文件
.version
4.AMI登录
telnet localhost 5038
Action: login
Username: admin
Secret: amp111
Events: off
Action: Redirect
Channel: SIP/3336333-09e40360
Context: from-internal
Exten: 15
Priority: 1
Action: Originate
Channel: SIP/806
Exten: 110
Context: from-internal
Priority: 1
5.三机配置方案
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
127.0.0.1 callcenter.localdomain callcenter backupcallcenter
192.168.2.25 db-server
192.168.2.90 pbx-server
192.168.2.110 app-server
192.168.2.25 app-db-server
192.168.2.25 pbx-db-server
127.0.0.1 backup-server
127.0.0.1 real-db-server
127.0.0.1 real-pbx-server
127.0.0.1 real-app-server
127.0.0.1 pbx-server-master
127.0.0.1 pbx-server-backup
127.0.0.1 app-server-backup
127.0.0.1 app-server-master
127.0.0.1 db-server-backup
127.0.0.1 db-server-master
error:
no such db field (extensions_list)
后台模块添加
http://192.168.18.70/admin/config.php?type=hide&display=modules&refresh=2
编译出错时,格式不正确
asterisk-2010/main/editline
多级方案,配置文件后,执行命令
sh -x /usr/jcc/bin/runmode
asterisk进程启动 但是连接不上
DUDAI
;bindaddr=0.0.0.0
port=4521