Asterisk's mini-http isn't good for much, but you can use it to serve a few small files, like polycom configs.
Asterisk config http.conf
NOTE: THE HTTP SERVER IS CASE-SENSITIVE. THIS MEANS THAT /var/lib/asterisk/static-http/0004F215A15E.cfg WILL NOT be sent to a request for http://myserver.com:8080/static/0004f215a15e.cfg
; Asterisk Builtin mini-HTTP server
; Whether HTTP interface is enabled or not. Default is no.
; Whether Asterisk should serve static content from http-static
; Default is no.
; Address to bind to. Default is 0.0.0.0
; Port to bind to (default is 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
; 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.
; In this example, if the prefix option is set to "asterisk", then using the
; POST URL: /asterisk/uploads will put files in /var/lib/asterisk/uploads/.
; uploads = /var/lib/asterisk/uploads/
LinksBack to Asterisk config files
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+