<!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.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Guru,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I try SER with FreeRadius, but I alway get the 
error when start SER </FONT></DIV>
<DIV><FONT face=Arial size=2>"ERROR: dab config file (10 errors)"</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I've include my ser.cfg for your 
reference.</FONT></DIV>
<DIV><FONT face=Arial size=2>Any info, help is hightly appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you &amp; regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Anton</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>ser.cfg:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT size=2>
<P>#<BR># $Id: ser.cfg,v 1.21 2003/06/04 13:47:36 jiri Exp $<BR>#<BR># simple 
quick-start config script<BR>#<BR># ----------- global configuration parameters 
------------------------<BR>debug=3 # debug level (cmd line: 
-dddddddddd)<BR>fork=yes<BR>log_stderror=no # (cmd line: -E)<BR>/* Uncomment 
these lines to enter debugging mode 
<BR>debug=7<BR>fork=no<BR>log_stderror=yes<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># ------------------ 
module loading ----------------------------------<BR># Uncomment this if you 
want to use SQL database<BR>#loadmodule 
"/usr/local/lib/ser/modules/mysql.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/sl.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/tm.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/rr.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/maxfwd.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/usrloc.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/registrar.so"<BR># Uncomment this if you want digest 
authentication<BR># mysql.so must be loaded !<BR>#loadmodule 
"/usr/local/lib/ser/modules/auth.so"<BR>#loadmodule 
"/usr/local/lib/ser/modules/auth_db.so"<BR>loadmodule 
"/usr/local/lib/ser/modules/auth_radius.so"<BR># ----------------- setting 
module-specific parameters ---------------<BR># -- usrloc params 
--<BR>modparam("usrloc", "db_mode", 0)<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># -- 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># -- 
rr params --<BR># add value to ;lr param to make some broken UAs 
happy<BR>modparam("rr", "enable_full_lr", 1)<BR>modparam("auth_radius", 
"radius_config", 
"/usr/local/etc/radiusclient/radiusclient.conf")<BR>modparam("auth_radius", 
"service_type", 15)<BR># ------------------------- request routing logic 
-------------------<BR># main routing logic<BR>route{<BR># initial sanity checks 
-- messages with<BR># max_forwards==0, or excessively long 
requests<BR>&nbsp;&nbsp;&nbsp; if (!mf_process_maxfwd_header("10")) 
{<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; sl_send_reply("483","Too Many 
Hops");<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp; 
};</P>
<P>&nbsp;&nbsp;&nbsp; if (len_gt( max_len )) {<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; sl_send_reply("513", "Message too 
big");<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp; 
};</P>
<P># 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>&nbsp;&nbsp;&nbsp; 
record_route();&nbsp;<BR>&nbsp;# loose-route processing</P>
<P>&nbsp;&nbsp;&nbsp; if (loose_route()) {<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; t_relay();<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
break;<BR>&nbsp;&nbsp;&nbsp; };</P>
<P># if the request is for other domain use UsrLoc<BR># (in case, it does not 
work, use the following comman<BR># with proper names and addresses in it)</P>
<P>&nbsp;&nbsp;&nbsp; if (uri==myself) 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (method=="REGISTER") {<BR># 
Uncomment this if you want to use digest authentication<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; if (!radius_www_authorize("") 
{<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
www_challenge("", "0");<BR>&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;};<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; save("location");<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; };</P>
<P># native SIP destinations are handled using our USRLOC DB</P>
<P>&nbsp;&nbsp;&nbsp; if (!lookup("location")) {<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; sl_send_reply("404", "Not Found");<BR>&nbsp;&nbsp;&nbsp; 
&nbsp;&nbsp;&nbsp; break;<BR>&nbsp;&nbsp;&nbsp; };<BR>};</P>
<P># forward to current uri now; use stateful forwarding; that<BR># works 
reliably even if we forward from TCP to UDP</P>
<P>&nbsp;&nbsp;&nbsp; if (!t_relay()) {<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
sl_reply_error();<BR>&nbsp;&nbsp;&nbsp; };</P>
<P>}</P>
<P>&nbsp;</P></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>