Copyright © 2007 voice-system.ro
socket_name
parameterchildren_count
parameterunix_socket_mode
parameterunix_socket_group
parameterunix_socket_user
parametersocket_timeout
parameterreply_ident
parameterThis is a module which provides a UNIX/UDP SOCKET transport layer implementation for the Management Interface.
The external commands issued via DATAGRAM interface must follow the following syntax:
request = first_line (argument '\n')*
first_line = ':'command_name':''\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 OpenSER modules.
The following libraries or applications must be installed before running OpenSER with this module loaded:
none
socket_name
(string)The name of a UNIX SOCKET or an IP address. The UNIX datagram or UDP socket will be created using this parameter in order to read the external commands. Both IPv4 and IPv6 are supported.
Default value is NONE.
children_count
(string)The number of child processes to be created. Each child process will be a datagram server.
Default value is 1.
unix_socket_mode
(integer)Permission to be used for creating the listening UNIX datagram socket. Not necessary for a UDP socket. It follows the UNIX conventions.
Default value is 0660 (rw-rw----).
unix_socket_group
(integer)
unix_socket_group
(string)Group to be used for creating the listening UNIX socket.
Default value is the inherited one.
unix_socket_user
(integer)
unix_socket_group
(string)User to be used for creating the listening UNIX socket.
Default value is the inherited one.
socket_timeout
(integer)The reply will expire after trying to sent it for socket_timeout miliseconds.
Default value is 2000.
reply_indent
(string)Strings to be used for line indentation. As the MI data structure is tree oriendeted, the depth level will printed as identation.
Default value is ""\t" (TAB)".
This is an example showing the DATAGRAM format for the "get_statistics dialog: tm:" MI commad: response.
This version supports only one kind of socket at a time. If there are more than one value set for socket_name the last one will take effect.
The maximum length of a datagram request or reply is 65457 bytes.
Take a look at http://www.openser-project.org/.
First at all check if your question was already answered on one of our mailing lists:
User Mailing List - http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
Developer Mailing List - http://lists.openser-project.org/cgi-bin/mailman/listinfo/devel
E-mails regarding any stable OpenSER release should be sent to
<users@lists.openser-project.org>
and e-mails regarding development versions
should be sent to <devel@lists.openser-project.org>
.
If you want to keep the mail private, send it to
<team@lists.openser-project.org>
.
Please follow the guidelines provided at: http://sourceforge.net/tracker/?group_id=139143.