mod_log_http is a FreeSWITCH logging module over HTTP.
Sends FreeSWITCH logs as JSON via HTTP(S) POST.
Designed for FluentBit/FluentD HTTP input, but works with any HTTP endpoint that accepts JSON POST requests.
makeIf pkg-config is not available for FreeSWITCH, pass the include path explicitly:
make FS_CFLAGS="-I/usr/include/freeswitch"For a custom FreeSWITCH prefix, override the install paths explicitly:
make \
FS_CFLAGS="-I/usr/local/freeswitch/include/freeswitch" \
FS_MODULES_DIR=/usr/local/freeswitch/mod \
FS_CONF_DIR=/usr/local/freeswitch/conf/autoload_configsInstall the module and its autoload config:
make installPackage builds can stage the files with DESTDIR:
make install DESTDIR=/tmp/pkgrootUse make show-config to inspect the resolved build variables.