freeswitch/conf/autoload_configs/blacklist.conf.xml
Stefan Knoblich 41abb3e644 mod_blacklist: Resource leak fixes, config checks and add help output for api interface
Don't leak the file handle after parsing the configuration
Don't leak memory if the file could not be opened

Check list name and filename attribute of configuration entry.

Add "blacklist help" and error messages to api interface.

Signed-off-by: Stefan Knoblich <stkn@openisdn.net>
2011-09-21 15:50:57 +02:00

12 lines
359 B
XML

<configuration name="mod_blacklist.conf" description="Blacklist module">
<lists>
<!--
Example blacklist, the referenced file contains blacklisted items, one entry per line
NOTE: make sure the file exists and is readable by FreeSWITCH.
<list name="example" filename="/usr/local/freeswitch/conf/blacklists/example.list"/>
-->
</lists>
</configuration>