yate/conf.d/javascript.conf.sample

35 lines
1.1 KiB
Plaintext

[general]
; General settings for the Javascript module
; scripts_dir: string: The absolute or relative path used by default to load
; scripts if no full path is specified
; Note that a trailing path separator should be added
;scripts_dir=share/scripts/
; routing: string: Name of the file holding the routing instructions
; Example: routing=route.js
;routing=
; allow_abort: boolean: Allow messages on level DebugFail to cause an engine abort
; Never enable it in production!
;allow_abort=no
; allow_trace: boolean: Allow the scripts to specify a trace file
; Never enable it in production!
;allow_trace=no
; allow_link: boolean: Allow linking of Javascript code (jump resolving)
;allow_link=yes
[scripts]
; Add one entry in this section for each script that is to be loaded on Yate startup
; Each line has to be on the form:
; name=script_file_name
; The name must be unique and it will identify the running script instance.
; The file name should hold either the absolute path and name or the path
; and name relative to the scripts_dir in section [general]
; Examples:
; faxes=fax_handler.js
; callback=js_lib/callback.js