- Mitglied seit
- 01. Apr 2008
- Beiträge
- 42
- Punkte für Reaktionen
- 0
- Punkte
- 6
Hallo zusammen,
habe über IPKG asterisk14 und asterisk14-gui installiert. Habe nach dem Handbuch die http.conf und manager.conf angepasst.
Wenn ich nun versuche die Conf-Seite über http://x.x.x.x:8088/asterisk/static/ajamdemo.html aufzurufen erhalte ich im Browser folgene Fehlermeldung: Sie haben nicht die erforderliche Berechtigung, um die Seite anzuzeigen.
Manager.conf:
[general]
displaysystemname = yes
enabled = no
webenabled = yes
port = 5038
;httptimeout = 60
; a) httptimeout sets the Max-Age of the http cookie
; b) httptimeout is the amount of time the webserver waits
; on a action=waitevent request (actually its httptimeout-10)
; c) httptimeout is also the amount of time the webserver keeps
; a http session alive after completing a successful action
bindaddr = 0.0.0.0
;displayconnects = yes
;
; Add a Unix epoch timestamp to events (not action responses)
;
;timestampevents = yes
;[mark]
secret = gooey
;deny=0.0.0.0/0.0.0.0
;permit=209.16.236.73/255.255.255.0
;
; If the device connected via this user accepts input slowly,
; the timeout for writes to it can be increased to keep it
; from being disconnected (value is in milliseconds)
;
; writetimeout = 100
;
; Authorization for various classes
;read = system,call,log,verbose,command,agent,user,config
;write = system,call,log,verbose,command,agent,user,config
http.conf:
[general]
;
; Whether HTTP interface is enabled or not. Default is no.
;
enabled=yes
;
; Whether Asterisk should serve static content from http-static
; Default is no.
;
;enablestatic=yes
;
; Address to bind to. Default is 0.0.0.0
;
bindaddr=0.0.0.0
;
; Port to bind to (default is 8088)
;
bindport=8088
;
; Prefix allows you to specify a prefix for all requests
; to the server. The default is "asterisk" so that all
; requests must begin with /asterisk
;
prefix=asterisk
; The post_mappings section maps URLs to real paths on the filesystem. If a
; POST is done from within an authenticated manager session to one of the
; configured POST mappings, then any files in the POST will be placed in the
; configured directory.
;
;[post_mappings]
;
; In this example, if the prefix option is set to "asterisk", then using the
; POST URL: /asterisk/uploads will put files in /opt/var/lib/asterisk/uploads/.
;uploads = /opt/var/lib/asterisk/uploads/
;
CS407 aktuelle FW
THX all
habe über IPKG asterisk14 und asterisk14-gui installiert. Habe nach dem Handbuch die http.conf und manager.conf angepasst.
Wenn ich nun versuche die Conf-Seite über http://x.x.x.x:8088/asterisk/static/ajamdemo.html aufzurufen erhalte ich im Browser folgene Fehlermeldung: Sie haben nicht die erforderliche Berechtigung, um die Seite anzuzeigen.
Manager.conf:
[general]
displaysystemname = yes
enabled = no
webenabled = yes
port = 5038
;httptimeout = 60
; a) httptimeout sets the Max-Age of the http cookie
; b) httptimeout is the amount of time the webserver waits
; on a action=waitevent request (actually its httptimeout-10)
; c) httptimeout is also the amount of time the webserver keeps
; a http session alive after completing a successful action
bindaddr = 0.0.0.0
;displayconnects = yes
;
; Add a Unix epoch timestamp to events (not action responses)
;
;timestampevents = yes
;[mark]
secret = gooey
;deny=0.0.0.0/0.0.0.0
;permit=209.16.236.73/255.255.255.0
;
; If the device connected via this user accepts input slowly,
; the timeout for writes to it can be increased to keep it
; from being disconnected (value is in milliseconds)
;
; writetimeout = 100
;
; Authorization for various classes
;read = system,call,log,verbose,command,agent,user,config
;write = system,call,log,verbose,command,agent,user,config
http.conf:
[general]
;
; Whether HTTP interface is enabled or not. Default is no.
;
enabled=yes
;
; Whether Asterisk should serve static content from http-static
; Default is no.
;
;enablestatic=yes
;
; Address to bind to. Default is 0.0.0.0
;
bindaddr=0.0.0.0
;
; Port to bind to (default is 8088)
;
bindport=8088
;
; Prefix allows you to specify a prefix for all requests
; to the server. The default is "asterisk" so that all
; requests must begin with /asterisk
;
prefix=asterisk
; The post_mappings section maps URLs to real paths on the filesystem. If a
; POST is done from within an authenticated manager session to one of the
; configured POST mappings, then any files in the POST will be placed in the
; configured directory.
;
;[post_mappings]
;
; In this example, if the prefix option is set to "asterisk", then using the
; POST URL: /asterisk/uploads will put files in /opt/var/lib/asterisk/uploads/.
;uploads = /opt/var/lib/asterisk/uploads/
;
CS407 aktuelle FW
THX all