<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2><FONT size=3>Hello,<BR>How are you! I'am glad to receiving
your letter! I'd give my question information.I beg your help! Thank you very
much!<BR><BR>1,operating system: my Redhat7.3 (Linux 2.4.18-3)<BR>2,SER
distribution: ser 0.8.11 (i386/linux)<BR>3, SER configuration file
:<BR><BR># $Id: ser.cfg,v 1.21.2.1 2003/07/30 16:46:18 andrei Exp $<BR>#<BR>#
simple quick-start config script<BR>#<BR><BR># ----------- global configuration
parameters
------------------------<BR><BR>#debug=8
# debug level (cmd line:
-dddddddddd)<BR>#fork=no<BR>#log_stderror=yes
# (cmd line: -E)<BR>alias="Lserver.net"<BR># Uncomment these lines to enter
debugging
mode<BR>debug=8<BR>fork=no<BR>log_stderror=yes<BR><BR><BR>check_via=no
# (cmd. line:
-v)<BR>dns=no #
(cmd. line: -r)<BR>rev_dns=no # (cmd. line:
-R)<BR>#port=5060<BR>#children=4<BR>fifo="/tmp/ser_fifo"<BR><BR>#
------------------ module loading ----------------------------------<BR><BR>#
Uncomment this if you want to use SQL database<BR>loadmodule
"/usr/lib/ser/modules/mysql.so"<BR><BR>loadmodule
"/usr/lib/ser/modules/sl.so"<BR>loadmodule
"/usr/lib/ser/modules/tm.so"<BR>loadmodule
"/usr/lib/ser/modules/rr.so"<BR>loadmodule
"/usr/lib/ser/modules/maxfwd.so"<BR>loadmodule
"/usr/lib/ser/modules/usrloc.so"<BR>loadmodule
"/usr/lib/ser/modules/registrar.so"<BR><BR># Uncomment this if you want digest
authentication<BR># mysql.so must be loaded !<BR>loadmodule
"/usr/lib/ser/modules/auth.so"<BR>loadmodule
"/usr/lib/ser/modules/auth_db.so"<BR><BR># ----------------- setting
module-specific parameters ---------------<BR><BR># -- usrloc params
--<BR><BR>#modparam("usrloc", "db_mode", 0)<BR><BR># Uncomment this
if you want to use SQL database<BR># for persistent storage and comment the
previous line<BR>modparam("usrloc", "db_mode", 2)<BR><BR># -- auth params
--<BR># Uncomment if you are using auth module<BR>#<BR>modparam("auth_db",
"calculate_ha1", yes)<BR>#<BR># If you set "calculate_ha1" parameter to yes
(which true in this config),<BR># uncomment also the following
parameter)<BR>#<BR>modparam("auth_db", "password_column", "password")<BR><BR>#
-- rr params --<BR># add value to ;lr param to make some broken UAs
happy<BR>modparam("rr", "enable_full_lr", 1)<BR><BR>#
------------------------- request routing logic
-------------------<BR><BR># main routing
logic<BR><BR>route{<BR><BR> # initial
sanity checks -- messages with<BR> #
max_forwards==0, or excessively long
requests<BR> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
break;<BR>
};<BR> if (len_gt( max_len ))
{<BR>
sl_send_reply("513", "Message too
big");<BR>
break;<BR>
};<BR><BR> # we record-route all
messages -- to make sure that<BR> #
subsequent messages will go through our proxy;
that's<BR> # particularly good if
upstream and downstream entities<BR> #
use different transport protocol<BR>
record_route();<BR> # loose-route
processing<BR> if (loose_route())
{<BR>
t_relay();<BR>
break;<BR>
};<BR><BR> # if the request is for
other domain use UsrLoc<BR> # (in
case, it does not work, use the following
command<BR> # with proper names and
addresses in it)<BR> if (uri==myself)
{<BR><BR>
if (method=="REGISTER") {<BR><BR># Uncomment this if you want to use digest
authentication<BR>
if (!www_authorize("Lserver.sict.net", "subscriber"))
{<BR>
www_challenge("Lserver.sict.net",
"0");<BR>
break;<BR>
};<BR><BR>
save("location");<BR>
break;<BR>
};<BR><BR>
# native SIP destinations are handled using our USRLOC
DB<BR>
if (!lookup("location"))
{<BR>
sl_send_reply("404", "Not
Found");<BR>
break;<BR>
};<BR>
};<BR> # forward to current uri now;
use stateful forwarding; that<BR> #
works reliably even if we forward from TCP to
UDP<BR> if (!t_relay())
{<BR>
sl_reply_error();<BR> };<BR><BR>}
<BR><BR><BR><BR>4, SER logs :<BR> <BR> When I
apply the following configuration options: debug=8,
log_stderror=yes, <BR><BR>fork=no. show this
information: <BR> .....<BR> 0(0) DEBUG: udp_init: trying
SO_RCVBUF: 262140<BR> 0(0) DEBUG: setting SO_RCVBUF;
set=262140,verify=131070<BR> 0(0) DEBUG: setting SO_RCVBUF has no
effect<BR> 0(0) DEBUG: udp_init: trying SO_RCVBUF: 133118<BR> 0(0)
DEBUG: setting SO_RCVBUF; set=133118,verify=131070<BR> 0(0) DEBUG: setting
SO_RCVBUF has no effect<BR> 0(0) INFO: udp_init: SO_RCVBUF is finally
131070<BR> 0(0) WARNING: using only the first listen address (no
fork)<BR> 1(4499) DBG: open_uac_fifo: opening fifo...<BR> 1(4499)
DEBUG: fifo /tmp/ser_fifo opened, mode=438<BR> 0(4497) DEBUG:
init_mod_child (1): tm<BR> 0(4497) DEBUG: callid: </FONT><A
href="mailto:'763e7fde-4497@127.0.0.1'"><FONT
size=3>'763e7fde-4497@127.0.0.1'</FONT></A><BR><FONT size=3> 0(4497) DEBUG:
init_mod_child (1): usrloc<BR> 1(4499) DEBUG: init_mod_child (-1):
tm<BR> 1(4499) DEBUG: callid: </FONT><A
href="mailto:'763e7fde-4499@127.0.0.1'"><FONT
size=3>'763e7fde-4499@127.0.0.1'</FONT></A><BR><FONT size=3> 1(4499) DEBUG:
init_mod_child (-1): usrloc<BR> 2(4500) INFO: fifo process starting:
4500<BR> 2(4500) DEBUG: init_mod_child (-2): tm<BR> 2(4500) DEBUG:
callid: </FONT><A href="mailto:'763e7fde-4500@127.0.0.1'"><FONT
size=3>'763e7fde-4500@127.0.0.1'</FONT></A><BR><FONT size=3> 2(4500) DEBUG:
init_mod_child (-2): usrloc<BR> 1(4499) DEBUG: init_mod_child (-1):
auth_db<BR> 0(4497) DEBUG: init_mod_child (1): auth_db<BR> 2(4500)
DEBUG: init_mod_child (-2): auth_db<BR> 2(4500) SER: open_uac_fifo: fifo
server up at /tmp/ser_fifo...<BR> <BR><BR><BR> It's no longer
running,always stop!
why? My SER log is
:<BR>....<BR>Oct 7 13:30:05 Lserver ser: WARNING: could not rev. resolve
210.72.128.44<BR>Oct 7 13:30:05 Lserver 10月 7 13:30:05 ser:
Listening on<BR>Oct 7 13:30:05 Lserver 10月 7 13:30:05
ser:
127.0.0.1 [127.0.0.1<BR>]:5060<BR>Oct 7 13:30:05 Lserver 10月 7
13:30:05
ser:
192.168.0.179 [192.1<BR>68.0.179]:5060<BR>Oct 7 13:30:05 Lserver 10月
7 13:30:05
ser:
210.72.128.44 [210.7<BR>2.128.44]:5060<BR>Oct 7 13:30:05 Lserver 10月
7 13:30:05 ser: Aliases: Lserver.sict.net:5060 loc<BR>alhost:5060
localhost.localdomain:5060 Lserver:5060 Lserver.net:*<BR>Oct 7 13:30:06
Lserver 10月 7 13:30:05 ser: ser startup succeeded<BR>Oct 7 13:49:07
Lserver 10月 7 13:49:07 ser: ser shutdown failed<BR>Oct 7 13:50:42
Lserver ser: parse error (14,1-2): parse error<BR>Oct 7 13:50:42 Lserver
ser: parse error (14,1-2):<BR>Oct 7 13:51:24 Lserver ser: WARNING: could
not rev. resolve 210.72.128.44<BR>[root@Lserver /]#<BR><BR><BR><BR>-----
Original Message ----- <BR>From: "Daniel-Constantin Mierla" <</FONT><A
href="mailto:Daniel-Constantin.Mierla@fokus.fraunhofer.de"><FONT
size=3>Daniel-Constantin.Mierla@fokus.fraunhofer.de</FONT></A><FONT
size=3>><BR>To: "郝育鹏" <</FONT><A href="mailto:haoypeng@sict.ac.cn"><FONT
size=3>haoypeng@sict.ac.cn</FONT></A><FONT size=3>><BR>Cc: <</FONT><A
href="mailto:serusers@iptel.org"><FONT size=3>serusers@iptel.org</FONT></A><FONT
size=3>><BR>Sent: Monday, October 06, 2003 7:26 PM<BR>Subject: Re: [Serusers]
Can you help me!<BR><BR><BR>Hello,<BR>did you add some users into
database?<BR>Please follow the guidelines from </FONT><A
href="http://www.iptel.org/ser/bugs/"><FONT
size=3>http://www.iptel.org/ser/bugs/</FONT></A><FONT size=3> and<BR>send us the
result. We can't guess everything what happen into your<BR>system only from
config file.<BR><BR>You have commented some global parameters and that changed
the behavior<BR>SER should have with default config file -- you even commented
the<BR>number of children that means ser listens only on first
network<BR>interface (I have to double check it, but it should be like that),
and<BR>that is usually 127.0.0.1. We need the log messages, network dumps
and<BR>so on
...<BR><BR>Regards,<BR>"Daniel</FONT><BR></FONT></DIV></BODY></HTML>