<div>Hi</div>
<div> </div>
<div>thanks for quick reply</div>
<div> </div>
<div>i could able to solve some kind of things where i get parse error</div>
<div> </div>
<div>but i have still problem here</div>
<div> </div>
<div>when i run ser</div>
<div> </div>
<div>[root@crm ser]# ser<br>Listening on<br> udp: <a href="http://127.0.0.1">127.0.0.1</a> [<a href="http://127.0.0.1">127.0.0.1</a>]:5060<br> udp: <a href="http://202.63.96.10">202.63.96.10</a> [
<a href="http://202.63.96.10">202.63.96.10</a>]:5060<br> tcp: <a href="http://127.0.0.1">127.0.0.1</a> [<a href="http://127.0.0.1">127.0.0.1</a>]:5060<br> tcp: <a href="http://202.63.96.10">202.63.96.10
</a> [<a href="http://202.63.96.10">202.63.96.10</a>]:5060<br>Aliases:<br> tcp: <a href="http://crm.balajimail.com:5060">crm.balajimail.com:5060</a><br> tcp: localhost:5060<br> tcp: localhost.localdomain
:5060<br> tcp: crm:5060<br> udp: <a href="http://crm.balajimail.com:5060">crm.balajimail.com:5060</a><br> udp: localhost:5060<br> udp: localhost.localdomain:5060<br> udp: crm:5060
<br><br>in the log</div>
<div> </div>
<div> </div>
<div>May 8 11:01:26 crm ser[6445]: Maxfwd module- initializing<br>May 8 11:01:26 crm ser[6445]: table_version(): Invalid number of rows received: 7, subscriber<br>May 8 11:01:26 crm ser[6445]: auth_db:str_fixup(): Error while querying table version
<br>May 8 11:01:26 crm ser[6445]: ERROR: fix_expr : fix_actions error<br> </div>
<div> </div>
<div>My ser.cfg looks like below</div>
<div> </div>
<div> </div>
<div> </div>
<div>
<p>[root@crm ser]# more ser.cfg<br>#<br># $Id: ser.cfg,v <a href="http://1.25.2.1">1.25.2.1</a> 2005/02/18 14:30:44 andrei Exp $<br>#<br># simple quick-start config script<br>#</p>
<p># ----------- global configuration parameters ------------------------</p>
<p>#debug=3 # debug level (cmd line: -dddddddddd)<br>#fork=yes<br>#log_stderror=no # (cmd line: -E)</p>
<p>/* Uncomment these lines to enter debugging mode<br>fork=no<br>log_stderror=yes<br>*/</p>
<p>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"</p>
<p># ------------------ module loading ----------------------------------</p>
<p># Uncomment this if you want to use SQL database<br>loadmodule "/usr/local/lib/ser/modules/mysql.so"</p>
<p>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/textops.so"</p>
<p># 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"</p>
<p># ----------------- setting module-specific parameters ---------------</p>
<p># -- usrloc params --</p>
<p>modparam("usrloc", "db_mode", 0)</p>
<p># Uncomment this if you want to use SQL database<br># for persistent storage and comment the previous line<br>modparam("usrloc", "db_mode", 2)</p>
<p># -- 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")</p>
<p># -- rr params --<br># add value to ;lr param to make some broken UAs happy<br>modparam("rr", "enable_full_lr", 1)</p>
<p># ------------------------- request routing logic -------------------</p>
<p># main routing logic</p>
<p>route{</p>
<p> # 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 (msg:len >= 2048 ) {<br> sl_send_reply("513", "Message too big");<br> break;<br> };</p>
<p><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> if (!method=="REGISTER") record_route();</p>
<p> # subsequent messages withing a dialog should take the<br> # path determined by record-routing<br> if (loose_route()) {<br> # mark routing logic in request<br> append_hf("P-hint: rr-enforced\r\n");
<br> route(1);<br> break;<br> };</p>
<p> if (!uri==myself) {<br> # mark routing logic in request<br> append_hf("P-hint: outbound\r\n");<br> route(1);<br> break;<br> };</p>
<p> # 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) {</p>
<p> if (method=="REGISTER") {</p>
<p># Uncomment this if you want to use digest authentication<br> if (!www_authorize("<a href="http://balajimail.com">balajimail.com</a>", "subscriber")) {<br> www_challenge("
<a href="http://balajimail.com">balajimail.com</a>", "0");<br> break;<br> };</p>
<p> save("location");<br> break;<br> };</p>
<p> lookup("aliases");<br> if (!uri==myself) {<br> append_hf("P-hint: outbound alias\r\n");<br> route(1);<br> break;
<br> };</p>
<p> # 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> append_hf("P-hint: usrloc applied\r\n");<br> route(1);<br>}</p>
<p>route[1]<br>{<br> # send it out now; use stateful forwarding as it works reliably<br> # even for UDP2TCP<br> if (!t_relay()) {<br> sl_reply_error();<br> };<br>}</p>
<p>[root@crm ser]#<br></p><br> </div>
<div><span class="gmail_quote">On 5/7/06, <b class="gmail_sendername">Andrey Kouprianov</b> <<a href="mailto:andrey.kouprianov@gmail.com">andrey.kouprianov@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>Looks like you have problem with your ser.cfg. Send it as attachment<br>in your next mail, so that someone can help finding faults in it.
<br><br>Btw, you can try doing it yourself. For instance,<br><br>May 7 20:35:05 crm ser: parse error (90,20-21): Can't set module parameter<br><br>means that you have an error at line 90, characters 20 thorugh 21.<br><br>
Regards.<br><br><br><br>On 5/7/06, ram <<a href="mailto:talk2ram@gmail.com">talk2ram@gmail.com</a>> wrote:<br>><br>> Hi<br>><br>> I have installed 0.9.6 on my FC5 Server<br>><br>> iam able to compile there is no errors
<br>><br>> when i try to start SER<br>><br>> ERROR; bad config file ( 6 errors)<br>><br>> iam getting this errors in message<br>><br>> May 7 20:35:05 crm ser: set_mod_param_regex: parameter <db_url> not found
<br>> in module <uri><br>> May 7 20:35:05 crm ser: parse error (69,4-5): Can't set module parameter<br>> May 7 20:35:05 crm ser: set_mod_param_regex: parameter <db_flag> not found<br>> in module <acc>
<br>> May 7 20:35:05 crm ser: parse error (89,20-21): Can't set module parameter<br>> May 7 20:35:05 crm ser: set_mod_param_regex: parameter <db_missed_flag> not<br>> found in module <acc><br>> May 7 20:35:05 crm ser: parse error (90,20-21): Can't set module parameter
<br>> May 7 20:35:05 crm ser: parse error (119,14-21): syntax error<br>> May 7 20:35:05 crm ser: parse error (119,22-23): bad arguments<br>> May 7 20:35:05 crm ser: parse error (413,24-25): unknown command, missing
<br>> loadmodule?<br>><br>> any help will be great<br>><br>> ram<br>> _______________________________________________<br>> Serusers mailing list<br>> <a href="mailto:serusers@lists.iptel.org">Serusers@iptel.org
</a><br>> <a href="http://lists.iptel.org/mailman/listinfo/serusers">http://mail.iptel.org/mailman/listinfo/serusers</a><br>><br>><br>><br><br>_______________________________________________<br>Serusers mailing list
<br><a href="mailto:serusers@lists.iptel.org">serusers@lists.iptel.org</a><br><a href="http://lists.iptel.org/mailman/listinfo/serusers">http://lists.iptel.org/mailman/listinfo/serusers</a><br></blockquote></div><br>