<span class="gmail_quote"></span><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<i><span style="font-style: italic;">hello, </span>Jan Janak and other guys:<br>
I try to connect ser and freeradius. i also follow the hints(ser_radius how to) from <a href="http://iptel.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">iptel.com</a>. <br>
<span style="color: rgb(255, 0, 0);">but when i run ser, it stopping at mysql parts and not errors</span>. my ser.cfg is :<br> <span style="font-style: italic;">
<br>
# ------------------ module loading ----------------------------------<br>
<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>
loadmodule "/usr/local/lib/ser/modules/exec.so"<br>
<br>
loadmodule "/usr/local/lib/ser/modules/textops.so"<br>
<br>
# RADIUS support<br>
loadmodule "/usr/local/lib/ser/modules/acc.so"<br>
<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_radius.so"<br>
<br>
# ----------------- setting module-specific parameters ---------------<br>
<br>
# -- usrloc params --<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>
# -- rr params --<br>
# add value to ;lr param to make some broken UAs happy<br>
modparam("rr", "enable_full_lr", 1)<br>
<br>
# -- acc params --<br>
modparam("acc", "radius_config", "/etc/radiusclient/radiusclient.conf")<br>
modparam("acc", "radius_missed_flag", 2)<br>
modparam("acc", "radius_config", "/etc/radiusclient/radiusclient.conf")<br>
modparam("acc", "radius_missed_flag", 2)<br>
modparam("acc", "radius_flag", 1)<br>
<br>
# -- auth_radius params --<br>
modparam("auth_radius", "radius_config", "/etc/radiusclient/radiusclient.conf")<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>
log(1,"LOG: Too many hops");<br>
sl_send_reply("483","Too Many Hops");<br>
break;<br>
};<br>
if ( msg:len > max_len ) {<br>
log(1,"LOG: Message too big");<br>
loose-route processing<br>
if(loose_route()){<br>
t_relay();<br>
break;<br>
};<br>
<br>
if(uri==myself){<br>
<br>
# All REGISTER attempts are processed and must always be authenticated<br>
if (method=="REGISTER"){<br>
if (!radius_www_authorize("")) {<br>
www_challenge("", "0");<br>
break;<br>
};<br>
<br>
save("location");<br>
break;<br>
};<br>
<br>
I post only part of ser.cfg. the errors are :<br>
<br>
</span><span style="color: rgb(204, 0, 0);"> 0(0) find_mod_export: found <db_query> in module mysql [/usr/local/lib/ser/modules/mysql.so]</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);"> 0(0) find_mod_export: found
<db_raw_query> in module mysql
[/usr/local/lib/ser/modules/mysql.so] 0(0) find_mod_export: found
<db_free_result> in module mysql
[/usr/local/lib/ser/modules/mysql.so]</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);"> 0(0) find_mod_export: found <db_insert> in module mysql [/usr/local/lib/ser/modules/mysql.so]</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);"> 0(0) find_mod_export: found <db_delete> in module mysql [/usr/local/lib/ser/modules/mysql.so]</span><br style="color: rgb(204, 0, 0);">
<span style="color: rgb(204, 0, 0);"> 0(0) find_mod_export: found <db_update> in module mysql [/usr/local/lib/ser/modules/mysql.so]</span><br style="color: rgb(204, 0, 0);">
<span style="font-style: italic;">thanks lot!</span></i></blockquote><div><br>
zhu <br>
</div><br></div><br>
<br></blockquote></div><br>