<!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.2716.2200" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Emil,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for your infor.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I tried and it still didn't work. Now I doubt if 
the /etc/ser/ser.cfg (see the following) takes effect or not. I changed the 
settings and if I ran the server&nbsp;by command&nbsp;' # ser ', no problem. But 
if I ran it like ' # ser -f ser.cfg ', then it told me</FONT></DIV>
<DIV><FONT face=Arial size=2>ERROR: bad config file (11 errors)</FONT></DIV>
<DIV><FONT face=Arial size=2>Actually I didn't change too much on the default 
ser.cfg. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Pls indicate.</FONT></DIV>
<DIV><FONT face=Arial 
size=2>_________________________________________________________________________________</FONT></DIV>
<DIV><FONT face=Arial size=2>#<BR># $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri 
Exp $<BR>#<BR># simple quick-start config script<BR>#</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ----------- global configuration parameters 
------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2><FONT face=Arial><FONT 
color=#ff0000>debug=9</FONT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# debug level (cmd line: -dddddddddd)<BR><FONT 
color=#ff0000>fork=no</FONT><BR>log_stderror=no # (cmd line: 
-E)<BR>check_via=no&nbsp;&nbsp;&nbsp; # (cmd. line: 
-v)<BR>dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
(cmd. line: -r)<BR>rev_dns=no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (cmd. line: 
-R)<BR>port=5060<BR>children=4<BR>fifo="/tmp/ser_fifo"</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ------------------ module loading 
----------------------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL 
database<BR>#loadmodule "//usr/lib/ser/modules/mysql.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>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"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want digest 
authentication<BR># mysql.so must be loaded !<BR>#loadmodule 
"//usr/lib/ser/modules/auth.so"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ----------------- setting module-specific 
parameters ---------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -- usrloc params --</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>modparam("usrloc", "db_mode",&nbsp;&nbsp; 
0)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use SQL 
database<BR># for persistent storage and comment the previous 
line<BR>#modparam("usrloc", "db_mode", 2)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -- auth params --<BR># Uncomment if you are using 
auth module<BR>#<BR>#modparam("auth", "secret", 
"alsdkhglaksdhfkloiwr")<BR>#modparam("auth", "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", 
"password_column", "password")</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># -------------------------&nbsp; request routing 
logic -------------------</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># main routing logic</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>route{</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
initial sanity checks -- messages 
with<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # max_forwars==0, or 
excessively long requests<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if 
(!mf_process_maxfwd_header("10")) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("483","Too Many 
Hops");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (len_gt( max_len )) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("513", "Message too 
big");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Do 
strict routing if pre-loaded route headers 
present<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
rewriteFromRoute();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # if the 
request is for other domain use 
UsrLoc<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # (in case, it does not 
work, use the following command<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # 
with proper names and addresses in 
it)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (uri==<FONT 
color=#ff0000>sip.mycompany.com</FONT>) {</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (method=="REGISTER") {</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># Uncomment this if you want to use digest 
authentication<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (!www_authorize("iptel.org", "subscriber")) 
{<BR>#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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
PSTN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (uri=~"^sip:[0-9]*@sip.mycompany.com") 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
log(4, "Forwarding to 
PSTN\n");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
forward(X.X.X.X,5060);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
# native SIP destinations are handled using our USRLOC 
DB<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if (!lookup("location")) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_send_reply("404", "Not 
Found");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
};<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # forward to current uri 
now<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!t_relay()) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
sl_reply_error();<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>}</FONT></DIV>
<DIV><FONT face=Arial 
size=2>_____________________________________________________________________________<BR></DIV></FONT>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=emil@mkc.co.za href="mailto:emil@mkc.co.za">Emil</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=boman122@yahoo.com 
  href="mailto:boman122@yahoo.com">Bo</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 14, 2003 5:43 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Serusers] SER log</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Hi Bo,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Jan just helped me with a similar 
  problem.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Debug level = 9 and fork t= no.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Tail /var/log messages and you will get plenty of 
  info.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>Emil</FONT></DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=boman122@yahoo.com href="mailto:boman122@yahoo.com">Bo</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=serusers@lists.iptel.org 
    href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, March 15, 2003 12:35 
    AM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> [Serusers] SER log</DIV>
    <DIV><BR></DIV>
    <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Does anyone have any clue on the following 
    problem?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>I recompiled and installed SER in Redhat Linux 
    8.0. Unfortunately I tried all the possible options (debug level) in the 
    ser.cfg, but the only messages I could see in the /var/log/messsages are as 
    follows.</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Mar 14 17:56:49 dda ser[15303]: INFO: udp_init: 
    SO_RCVBUF is initially 65535<BR>Mar 14 17:56:49 dda ser[15303]: INFO: 
    udp_init: SO_RCVBUF is finally 262142<BR>Mar 14 17:56:49 dda ser[15303]: 
    INFO: udp_init: SO_RCVBUF is initially 65535<BR>Mar 14 17:56:49 dda 
    ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142<BR>Mar 14 17:56:49 
    dda ser[15303]: INFO: udp_init: SO_RCVBUF is initially 65535<BR>Mar 14 
    17:56:49 dda ser[15303]: INFO: udp_init: SO_RCVBUF is finally 262142<BR>Mar 
    14 17:56:49 dda ser[15316]: INFO: fifo process starting: 15316<BR>Mar 14 
    17:56:49 dda ser[15316]: SER: open_uac_fifo: fifo server up at 
    /tmp/ser_fifo...<BR></FONT></DIV>
    <DIV><FONT face=Arial size=2>What should I do to see the detailed 
    debugs?</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
    <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
    <DIV><FONT face=Arial 
size=2>Bo</DIV></BLOCKQUOTE></BLOCKQUOTE></FONT></BODY></HTML>