[root@kernel asterisk]# asterisk -rvvvvvv |
[root@kernel asterisk]# rasterisk -vvvvvv |
[root@kernel asterisk]# asterisk -h Asterisk 11.0.0, Copyright (C) 1999 - 2012, Digium, Inc. and others. Usage: asterisk [OPTIONS] Valid Options: -V Display version number and exit -C <configfile> U an alternate configuration file -G <group> Run as a group other than the caller -U <ur> Run as a ur other than the caller -c Provide console CLI -d Enable extra debugging -f Do not fork -F Always fork -g Dump core in ca of a crash -h This help screen -i Initialize crypto keys at startup -I Enable internal timing if DAHDI timer is available -L <load> Limit the maximum load average before rejecting new calls 蒙古族 -M <value> Limit the maximum number of calls to the specified value -m Mute debugging and console output on the console -n Disable console colorization -p Run as pudo-realtime thread -q Quiet mode (suppress output) -r Connect to Asterisk on this machine -R Same as -r, except attempt to reconnect if disconnected -s <socket> Connect to Asterisk via socket <socket> (only valid with -r) -t Record soundfiles in /var/tmp and move them where they belong after they are done -T Display the time in [Mmm dd hh:mm:ss] format for each line of output to the CLI -v Increa verbosity (multiple v's = more verbo) -x <cmd> Execute command <cmd> (implies -r) -X Execute includes by default (allows #exec f) -W Adjust terminal colors to compensate for a light background 土豆卷 |
[general] enabled = yes webenabled = yes port = 5038 bindaddr = 0.0.0.0 [admin] cret = admin read = system,call,log,verbo,command,agent,config,read,write,originate write = system,call,log,verbo,command,agent,config,read,write,originate |
admin是AMI中定义的一个帐号,用户可以通过这个帐号登录到5038端口。 Read/write是其读写权限,cret是帐号的密码。 |
[root@kernel asterisk]# telnet localhost 5038 Trying 127.0. Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. Asterisk Call Manager/1.3 Action: Login Urname: admin Secret: admin Respon: Success Message: Authentication accepted Event: FullyBooted 实习指导教师总结Privilege: system,all Status: Fully Booted Action: Ping Respon: Success Ping: Pong Timestamp: 1355081826.774418 |
红色部分是输入信息,命令结束时需要两次回车换行。 |
[general] ; ; Whether HTTP/HTTPS interface is enabled or not. Default is no. ; This also affects manager/rawman/mxml access (f) ; enabled = yes ; 金融租赁公司管理办法; Address to bind to, both for HTTP and HTTPS. You MUST specify ; a bindaddr in order for the HTTP rver to run. There is no ; default value. ; bindaddr = 192.168.0.105 ; ; Port to bind to for HTTP ssions (default is 8088) ; bindport = 8088 |
[root@kernel asterisk]# ls /var/lib/asterisk/static-http/ iexplore>幼儿园中班上学期工作总结ajamdemo.html astman.css astman.js config l index.html mantest.html prototype.js |
本文发布于:2023-05-17 09:08:47,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/fan/89/907473.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |