Table of Contents
List of Examples
fifo_name
parameterfifo_mode
parameterfifo_group
parameterfifo_user
parameterreply_dir
parameterreply_indent
parameterTable of Contents
This is a module which provides a FIFO transport layer implementation for the Management Interface.
The external commands issued via the FIFO interface must follow the following syntax:
request = first_line argument*
first_line = ':'command_name':'reply_fifo'\n'
argument = (arg_name '::' (arg_value)? ) | (arg_value)
arg_name = not-quoted_string
arg_value = not-quoted_string | '"' string '"'
not-quoted_string = string - {',",\n,\r}
The following modules must be loaded before this module:
No dependencies on other Kamailio modules.
The name of the FIFO file to be created for listening and reading external commands. If the value is a file name or does not start with '/', the FIFO file is created in the 'run_dir'. The 'run_dir' is a core parameter that can specify where to create runtime files, its default value is '/var/run/kamailio/'.
Default value is 'Kamailio_fifo'.
The full path used by default for FIFO file is '/var/run/kamailio/Kamailio_fifo'
Permission to be used for creating the listening FIFO file. It follows the UNIX conventions.
Default value is 0660 (rw-rw----).
System Group to be used for creating the listening FIFO file.
Default value is the inherited one (process group).
Example 1.3. Set fifo_group
parameter
... modparam("mi_fifo", "fifo_group", 0) modparam("mi_fifo", "fifo_group", "root") ...
System User to be used for creating the listening FIFO file.
Default value is the inherited one (process user).
Example 1.4. Set fifo_user
parameter
... modparam("mi_fifo", "fifo_user", 0) modparam("mi_fifo", "fifo_user", "root") ...