/etc/yate/extmodule.conf is in yate-core 5.4.0-1-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | [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
; Uncomment the following line when running in the sources directory
;scripts_dir=share/scripts/
; priority: int: Priority of the call.execute handler
;priority=100
; 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
; 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
|