Section: SIP Express Router (8)Updated: June 2008Local indexUp
NAME
sercmd - send commands to SIP Express Router using binrpc
SYNOPSIS
sercmd
[options] [-s address] [ cmd ]
DESCRIPTION
sercmd is a tool for controlling SER using its ctl module.
OPTIONS
-s address
unix socket name or host name to send the commands on
-R name
force reply socket name, for the unix datagram socket mode
-D dir
create the reply socket in the directory <dir> if no reply
socket is forced (-R) and a unix datagram socket is selected
as the transport
-f format
print the result using format. Format is a string containing
%v at the places where values read from the reply should be
substituted. To print '%v', escape it using '%': %%v.
-v
verbose mode
-V
print version number
-h
this help message
address:
[proto:]name[:port]
where proto is one of tcp, udp, unixs or unixd, e.g., tcp:localhost:2048 , unixs:/var/run/ser/ser_ctl
cmd:
method
[arg1 [arg2...]]
arg:
string or number; to force a number to be interpreted as string
prefix it by "s:", e.g. s:1