Copyright é 2006 Voice Sistem SRL
| Revision History | |
|---|---|
| Revision $Revision: 8740 $ | $Date: 2013-01-29 13:35:11 +0100 (Tue, 29 Jan 2013) $ |
Table of Contents
List of Examples
This is a module which provides a FIFO transport layer implementation for Management Interface.
The external commands issued via 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 OpenSIPS modules.
The name of the FIFO file to be created for listening and reading external commands.
Default value is NONE.
ExampleÃÂ 1.1.ÃÂ Set fifo_name parameter
...
modparam("mi_fifo", "fifo_name", "/tmp/opensips_fifo")
...
Permission to be used for creating the listening FIFO file. It follows the UNIX conventions.
Default value is 0660 (rw-rw----).
Group to be used for creating the listening FIFO file.
Default value is the inherited one.
ExampleÃÂ 1.3.ÃÂ Set fifo_group parameter
...
modparam("mi_fifo", "fifo_group", 0)
modparam("mi_fifo", "fifo_group", "root")
...
User to be used for creating the listening FIFO file.
Default value is the inherited one.
ExampleÃÂ 1.4.ÃÂ Set fifo_user parameter
...
modparam("mi_fifo", "fifo_user", 0)
modparam("mi_fifo", "fifo_user", "root")
...