SYNOPSIS
opensipsunix path_to_socket
DESCRIPTION
opensipsunix is a wrapper for sending external commands to OpenSIPS server via UNIX sockets interface.This is a binary alternative to the textual FIFO interface.
opensipsunix reads from standard input one OpenSIPS command along with its parameters (if any) and prints the response to standard output.
PARAMETERS
- path_to_socket
-
full path of the UNIX socket file used by OpenSIPS to receive the
external commands
EXAMPLES
An OpenSIPS commands consists in one ore more lines: first contains the command name enclosed between ":", the following lines containing the command parameters, one per line.
echo ":uptime:" | opensipsunix /tmp/opensips.sock
AUTHORS
see /usr/share/doc/opensipsAUTHORS