opensipsunix8
Opensips unix socket wrapper
Usage
opensipsunix path_to_socket
Overview
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