yate/conf.d/extmodule.conf.sample

68 lines
2.1 KiB
Plaintext

[general]
; General settings for the external 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=${sharedpath}/scripts/
; priority: int: Priority of the call.execute handler
;priority=100
; maxqueue: int: How many messages can be queued in a receiver, zero disables limit
;maxqueue=1000
; timeout: int: How many milliseconds to wait for a module to answer
;timeout=10000
; timebomb: bool: Kill the module instance if it timed out
;timebomb=false
; settime: bool: Set the current time as message creation time
;settime=false
; waitflush: int: Milliseconds to wait at script shutdown after waiting messages
; and message relays are flushed, valid range 1-100 ms
;waitflush=5
; trackparam: bool: Add the external module to the handler tracking parameter
; The default of false lets each external script do so
;trackparam=false
;[listener sample]
; For each socket listener there should be a section starting with the
; "listener" keyword
; type: keyword: Type of socket - "unix" or "tcp"
; path: string: Path of the UNIX socket to create
; addr: string: IP address to bind the TCP socket to
;addr=127.0.0.1
; port: int: TCP port to bind to, must be positive
; role: keyword: Role of incoming connections - "global", "channel" or don't set
[scripts]
; Add one entry in this section for each global external module that is to be
; loaded on Yate startup
; Each line has to be on the form:
; scriptname=parameter
; The script name should hold either the absolute path and name or the path
; and name relative to the scripts_dir in section [general]
; The parameter is optional and if present is passed to the script as the first
; (and single) parameter
[execute]
; Add one entry in this section for each external program that is to be
; executed on Yate startup
; Each line has to be on the form:
; progname=parameter
; The program name should hold the absolute path to the program
; The parameter is optional and if present is passed to the program as the first
; (and single) parameter