1.設定manager.conf
[general]
enabled = yes
port = 5038 << 登入的port
bindaddr = 0.0.0.0
displayconnects=no ;only effects 1.6+
[admin] << 帳號
secret = password << 密碼
deny=0.0.0.0/0.0.0.0 << 封鎖的IP
permit=127.0.0.1/255.255.255.0 << 開放的IP
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
write = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate
writetimeout = 5000
2.登入方式
action: login
username: admin
secret: password
Events: on
沒有留言:
張貼留言