Mercurial > hg > freeDiameter
diff doc/dict_json.json.sample @ 1333:cbe1da7a32f1
Add dict_json extension.
This extension allows loading diameter dictionares from a JSON file.
Example files are provided by contrib/dict_json.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Tue, 09 Apr 2019 15:11:32 +0200 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/doc/dict_json.json.sample Tue Apr 09 15:11:32 2019 +0200 @@ -0,0 +1,17 @@ +# Configuration for the JSON dictionary extension (no config file needed) +# +# This extension allows configuration of diameter dictionaries +# in JSON format. +# +# To load the JSON dictionaries, list their paths, separated with a semicolon (';') +# as argument when loading the extension in the freeDiameter config file, i.e.: +# +# LoadExtension = "dict_json.so":"/path/to/dictionary.json;/path/to/another/dictionary_2.json"; +# +# Relative paths work but are hard to get right because they are +# relative to where you started the freeDiameter daemon. +# +# The dictionaries must conform to the JSON schema in +# extensions/dict_json/dict_json_dict_schema.json +# +# Example dictionaries are in contrib/dict_json.