mod_httapi configuration file
The mod_httapi
configuration file is found in conf/autoload_configs
and is named httapi.conf.xml
. It contains several settings
parameters as well as a profiles
section. The example configuration contains a default
HTTAPI profile
or you may create your own profiles.
Inside the profile tag you will notice a number of param
entries. These control things such as default settings for various work actions, permissions control (see the following sections), and the default URL to use for HTTP requests.
You might recall the gateway-url
parameter from the mod_xml_curl
configuration in Chapter 9, Moving Beyond the Static XML Configuration, and how mod_xml_curl
would use it to get its configuration from the web server. In mod_httapi
, there's an identical gateway-url
parameter that FreeSWITCH can use as a base URL to which information can be pushed and from which information can be pulled, namely a web server. As httapi
is a Dialplan application, we also have the ability to...