<!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.2963" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=167343413-13092006><FONT face=Arial color=#0000ff
size=2>Hello.</FONT></SPAN></DIV>
<DIV><SPAN class=167343413-13092006> <FONT face=Arial
color=#0000ff size=2>Did you recompile the source with the support for
mysql?</FONT></SPAN></DIV>
<DIV><SPAN class=167343413-13092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=167343413-13092006><FONT face=Arial color=#0000ff
size=2>Cheers.</FONT></SPAN></DIV>
<DIV><SPAN class=167343413-13092006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=167343413-13092006><FONT face=Arial color=#0000ff
size=2>Ricardo Martinez.-</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Mensaje original-----<BR><B>De:</B>
serusers-bounces@lists.iptel.org
[mailto:serusers-bounces@lists.iptel.org]<B>En nombre de </B>prabhakar
g<BR><B>Enviado el:</B> miércoles, 13 de septiembre de 2006
5:50<BR><B>Para:</B> serusers@lists.iptel.org<BR><B>Asunto:</B> [Serusers] ser
Problem ?<BR><BR></FONT></DIV>
<DIV><BR clear=all>hi </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>i am new to this any way i am trying to install ser with
mysql+nathelper+rtpproxy i installed ser and when i am trying to run ser
service i am getting this error</DIV>
<DIV> </DIV>
<DIV> 0(4971) parse error (10,1-12): syntax error<BR> 0(4971) parse
error (10,12-13): unknown config variable<BR> 0(4971) parse error
(12,1-11):<BR>ERROR: bad config file (3 errors)<BR> 0(4971)
shm_mem_destroy<BR> 0(4971) destroying the shared memory lock <BR>and
this is my cfg file</DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<P>debug=9</P>
<P>fork=yes</P>
<P>log_stderror=yes </P>
<P>port=5060</P>
<P>check_via=no</P>
<P>dns=no</P>
<P>rev_dns=no</P>
<P>children=4</P>
<P>fifo="/tmp/ser_fifo" </P>
<P>loadmodule "/usr/local/lib/ser/modules/mysql.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/sl.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/tm.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/rr.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/maxfwd.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/usrloc.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/registrar.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/group.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/uri.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/uri_db.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/acc.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/textops.so" </P>
<P># Nathelper Section</P>
<P>loadmodule "/usr/local/lib/ser/modules/nathelper.so" </P>
<P># digest authentication</P>
<P>loadmodule "/usr/local/lib/ser/modules/auth.so"</P>
<P>loadmodule "/usr/local/lib/ser/modules/auth_db.so" </P>
<P>modparam("usrloc", "db_mode", 2)</P>
<P>modparam("auth_db", "calculate_ha1", yes)</P>
<P>modparam("auth_db", "password_column", "password")</P>
<P>modparam("rr", "enable_full_lr", 1)</P>
<P>modparam("group", "db_url", "mysql://ser:heslo@localhost/ser")</P>
<P>modparam("uri_db", "db_url", "mysql://ser:heslo@localhost/ser") </P>
<P># Nathelper</P>
<P>modparam("registrar", "nat_flag", 6)</P>
<P>modparam("nathelper", "natping_interval", 30)</P>
<P>modparam("nathelper", "ping_nated_only", 1) </P>
<P>route{ </P>
<P>if (!mf_process_maxfwd_header("10")) {</P>
<P>sl_send_reply("483","Too Many Hops");</P>
<P>break;</P>
<P>};</P>
<P>if (msg:len >= max_len ) {</P>
<P>sl_send_reply("513", "Message too big");</P>
<P>break;</P>
<P>}; </P>
<P>if (nat_uac_test("3")) {</P>
<P>if (method == "REGISTER" || ! search("^Record-Route:")) {</P>
<P>log("LOG: Someone trying to register from private IP, rewriting\n"); </P>
<P>fix_nated_contact();</P>
<P>if (method == "INVITE") {</P>
<P>fix_nated_sdp("1");</P>
<P>};</P>
<P>force_rport();</P>
<P>setflag(6);</P>
<P>};</P>
<P>}; </P>
<P>if (!method=="REGISTER") record_route(); </P>
<P>if (loose_route()) {</P>
<P>append_hf("P-hint: rr-enforced\r\n"); </P>
<P>route(1);</P>
<P>break;</P>
<P>}; </P>
<P>if (!uri==myself) {</P>
<P>append_hf("P-hint: outbound\r\n"); </P>
<P>route(1);</P>
<P>break;</P>
<P>}; </P>
<P>if (uri==myself) { </P>
<P>if (method=="REGISTER") { </P>
<P>if (!www_authorize("<A
href="http://siptest.globe7.com">siptest.globe7.com</A>", "subscriber")) {</P>
<P>www_challenge("<A href="http://siptest.globe7.com">siptest.globe7.com</A>",
"0");</P>
<P>break;</P>
<P>}; </P>
<P>save("location");</P>
<P>break;</P>
<P>}; </P>
<P>lookup("aliases");</P>
<P>if (!uri==myself) {</P>
<P>append_hf("P-hint: outbound alias\r\n"); </P>
<P>route(1);</P>
<P>break;</P>
<P>}; </P>
<P>if (!lookup("location")) {</P>
<P>sl_send_reply("404", "Not Found");</P>
<P>break;</P>
<P>};</P>
<P>};</P>
<P>append_hf("P-hint: usrloc applied\r\n"); </P>
<P>route(1);</P>
<P>} </P>
<P>route[1] </P>
<P>{</P>
<P># !! Nathelper</P>
<P>if (uri=~"[@:](192\.168\.|10\.|172\.(1[6-9]|2[0-9]|3[0-1])\.)" &&
!search("^Route:")){</P>
<P>sl_send_reply("479", "We don't forward to private IP addresses");</P>
<P>break;</P>
<P>};</P>
<P>if (isflagset(6)) {</P>
<P>force_rtp_proxy();</P>
<P>}; </P>
<P>t_on_reply("1"); </P>
<P>if (!t_relay()) {</P>
<P>sl_reply_error();</P>
<P>};</P>
<P>} </P>
<P>onreply_route[1] { </P>
<P>if (isflagset(6) && status =~ "(183)|2[0-9][0-9]") {</P>
<P>fix_nated_contact();</P>
<P>force_rtp_proxy();</P>
<P>} else if (nat_uac_test("1")) {</P>
<P>fix_nated_contact();</P>
<P>}-----------------------------------------------------------</P>
<P> </P>
<P>please get me out from this </P></FONT><BR>-- <BR>Prabhakar.g<BR>Network
Engineer<BR>Northgate Technologies<BR>Banjarahils,Hyderabad-34
</DIV></BLOCKQUOTE></BODY></HTML>