<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><FONT face="Times New Roman" size=3>Hi
all<BR><BR>with the help from Henning Westerholt, i install sip-router
successfull<BR><BR>i just wonder there are 2
command<BR>
ser<BR>
sercmd<BR>what is the difference between them<BR><BR>Thank
you<BR>Ha`<BR><BR><FONT face=Arial size=2>debian:/usr/local/etc/ser# ser
-h<BR>version: ser 2.1.0-dev23-make (i386/linux)<BR>Usage: ser
[options]<BR>Options:<BR> -f
file Configuration file (default:
/usr/local/etc/ser/ser.cfg)<BR> -L
path Modules search path (default:
/usr/local/lib/ser/modules:/usr/local/lib/ser/modules_s:/usr/local/lib/ser/modules_k)<BR>
-c Check
configuration file for errors<BR> -l address
Listen on the specified address/interface (multiple
-l<BR>
mean listening on more addresses). The address format
is<BR>
[proto:]addr_lst[:port], where
proto=udp|tcp|tls|sctp,<BR>
addr_lst= addr|(addr, addr_lst)
and<BR>
addr=
host|ip_address|interface_name.<BR>
E.g: -l locahost, -l udp:127.0.0.1:5080, -l
eth0:5062,<BR>
-l "sctp:(eth0)", -l "(eth0, eth1,
127.0.0.1):5065".<BR>
The default behaviour is to listen on all the interfaces.<BR>
-n processes Number of child processes to fork per
interface<BR>
(default: 8)<BR>
-r Use dns to check
if is necessary to add a
"received="<BR>
field to a via<BR>
-R Same as `-r` but
use reverse
dns;<BR>
(to use both use `-rR`)<BR>
-v Turn on "via:"
host checking when forwarding replies<BR>
-d Debugging mode
(multiple -d increase the level)<BR> -D
no 1..do not fork (almost) anyway,
2..do not daemonize
creator<BR>
3..daemonize (default)<BR>
-E Log to
stderr<BR>
-T Disable
tcp<BR>
-N Number of tcp
child processes (default: equal to `-n')<BR>
-W poll
method<BR>
-V Version
number<BR>
-h This help
message<BR> -b nr
Maximum receive buffer size which will not be exceeded
by<BR>
auto-probing procedure even if OS allows<BR> -m
nr Size of shared memory allocated in
Megabytes<BR> -w dir
Change the working directory to "dir" (default: "/")<BR> -t
dir Chroot to "dir"<BR> -u
uid Change uid<BR> -g
gid Change gid<BR> -P
file Create a pid file<BR> -G
file Create a pgid file<BR> -O
nr Script optimization level
(debugging option)<BR>debian:/usr/local/etc/ser# sercmd -h<BR>version: sercmd
0.1<BR>Usage: sercmd [options][-s address] [ cmd
]<BR>Options:<BR> -s address unix socket name or host
name to send the commands on<BR> -R
name force reply socket name, for the unix datagram
socket mode<BR> -D dir create
the reply socket in the directory <dir> if no
reply<BR>
socket is forced (-R) and a unix datagram socket is
selected<BR>
as the transport<BR> -f format print the result
using format. Format is a string
containing<BR>
%v at the places where values read from the reply should
be<BR>
substituted. To print '%v', escape it using '%': %%v.<BR>
-v
Verbose<BR>
-V Version
number<BR>
-h This help
message<BR>address:<BR> [proto:]name[:port] where
proto is one of tcp, udp, unixs or
unixd<BR>
e.g.: tcp:localhost:2048 ,
unixs:/tmp/ser_ctl<BR>cmd:<BR> method [arg1
[arg2...]]<BR>arg:<BR> string or number; to force a
number to be interpreted as string<BR> prefix it by
"s:", e.g. s:1<BR>Examples:<BR> sercmd
-s unixs:/tmp/ser_unix
system.listMethods<BR> sercmd -f "pid:
%v desc: %v\n" -s udp:localhost:2047
core.ps<BR> sercmd ps # uses
default ctl socket<BR>
sercmd # enters interactive mode on the default
socket<BR> sercmd -s tcp:localhost #
interactive mode, default port<BR></FONT></FONT></FONT></DIV></BODY></HTML>