Asterisk 星号呼叫管理器/1.1响应:错误消息:请求中缺少操作

Asterisk 星号呼叫管理器/1.1响应:错误消息:请求中缺少操作,asterisk,Asterisk,我正在尝试安装/配置我的asterisk服务器(第一次,我是asterisk的新手) 我已经运行了所有make脚本,makecheckconfig返回ok --- Checking Asterisk configuration to see if it will support the GUI --- * Checking for http.conf: OK * Checking for manager.conf: OK * Checking if HTTP is enabled: OK *

我正在尝试安装/配置我的asterisk服务器(第一次,我是asterisk的新手)

我已经运行了所有make脚本,
makecheckconfig
返回ok

 --- Checking Asterisk configuration to see if it will support the GUI ---
* Checking for http.conf: OK
* Checking for manager.conf: OK
* Checking if HTTP is enabled: OK
* Checking if HTTP static support is enabled: OK
* Checking if manager is enabled: OK
* Checking if manager over HTTP is enabled: OK
 --- Everything looks good ---  
 * GUI should be available at http://siddharth-desktop:8088/asterisk/static/config/index.html 

 * Note: If you have bindaddr=127.0.0.1 in /etc/asterisk/http.conf 
   you will only be able to visit it from the local machine. 

   Example: http://localhost:8088/asterisk/static/config/index.html

 * The login and password should be an entry from /etc/asterisk/manager.conf
   which has 'config' permission in read and write.  For example:

    [admin]
    secret = mysecret4942
    read = system,call,log,verbose,command,agent,config
    write = system,call,log,verbose,command,agent,config

 --- Good luck! --- 
/etc/asterisk/http.conf的内容

[general]
enabled=yes
enablestatic=yes
bindaddr=127.0.0.1
/etc/asterisk/manager.conf的内容

[general]
enabled=yes
webenabled=yes
[admin]
    secret=<MYPASSWORD>
    read=system,call,log,verbose,command,agent,config,read,write,originate
    write=system,call,log,verbose,command,agent,config,read,write,originate

port=5038
bindaddr=127.0.0.1
因为它是神秘的:),问题是我指向了错误的道路

http://-local_host-:5038/asterisk/static/config/index.html
此处
asterisk
指的是
http.conf

);前缀=星号

有人评论说。所以正确的路径应该是

http://-local_host-:5038/static/config/index.html
但这并不奏效。因此,我有一种疯狂的预感,完全从http.conf中删除了端口和bindaddr,只在manager.conf中设置了ip和端口

[general]
enabled=yes
enablestatic=yes
#bindaddr=0.0.0.0 # allow GUI to be accessible from all IP addresses.
bindaddr=127.0.0.1 # require access from the machine Asterisk is running on
bindport=5039
并将路径更改为(不带“
星号”
前缀和端口号更改)

林克帮了忙

成功了

[general]
enabled=yes
enablestatic=yes
#bindaddr=0.0.0.0 # allow GUI to be accessible from all IP addresses.
bindaddr=127.0.0.1 # require access from the machine Asterisk is running on
bindport=5039
http://-local_host-:5039/static/config/index.html