Hi,<br> I am using SER.cfg file with the following configuration for the registerd users, <br> if (method=="REGISTER" & proxy_authorize("localhost" , "subscriber"))<br> { <br> if (!check_to()) <br> {<br> log(1, "LOG: unregistered user registration attempt\n");<br> sl_send_reply("403", "Only registered users are allowed");<br> break;<br> }; <br> };<br> <br> but it does not work and i gets this error,<br> <br> Stopping
ser: [FAILED]<br> Starting ser: 0(7109) loading module /usr/lib/ser/modules/mysql.so<br> 0(7109) loading module /usr/lib/ser/modules/sl.so<br> 0(7109) loading module /usr/lib/ser/modules/tm.so<br> 0(7109) loading module /usr/lib/ser/modules/rr.so<br> 0(7109) loading module /usr/lib/ser/modules/maxfwd.so<br> 0(7109) loading module /usr/lib/ser/modules/usrloc.so<br> 0(7109) loading module /usr/lib/ser/modules/registrar.so<br> 0(7109) loading module /usr/lib/ser/modules/auth.so<br> 0(7109) loading module /usr/lib/ser/modules/auth_db.so<br> 0(7109) loading module /usr/lib/ser/modules/acc.so<br> 0(7109) loading module
/usr/lib/ser/modules/exec.so<br> 0(7109) loading module /usr/lib/ser/modules/group.so<br> 0(7109) loading module /usr/lib/ser/modules/print.so<br> 0(7109) loading module /usr/lib/ser/modules/textops.so<br> 0(7109) set_mod_param_regex: usrloc matches module usrloc<br> 0(7109) set_mod_param_regex: found <db_mode> in module usrloc [/usr/lib/ser/modules/usrloc.so]<br> 0(7109) set_mod_param_regex: usrloc matches module usrloc<br> 0(7109) set_mod_param_regex: found <db_url> in module usrloc [/usr/lib/ser/modules/usrloc.so]<br> 0(7109) set_mod_param_regex: auth_db matches module auth_db<br> 0(7109) set_mod_param_regex: found <calculate_ha1> in module auth_db [/usr/lib/ser/modules/auth_db.so]<br> 0(7109) set_mod_param_regex: auth_db matches module auth_db<br> 0(7109) set_mod_param_regex: found <password_column> in module auth_db [/usr/lib/ser/modules/auth_db.so]<br> 0(7109)
set_mod_param_regex: rr matches module rr<br> 0(7109) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/lib/ser/modules/rr.so]<br> 0(7109) find_export: found <mf_process_maxfwd_header> in module maxfwd_module [/usr/lib/ser/modules/maxfwd.so]<br> 0(7109) find_export: found <sl_send_reply> in module sl_module [/usr/lib/ser/modules/sl.so]<br> 0(7109) find_export: found <sl_send_reply> in module sl_module [/usr/lib/ser/modules/sl.so]<br> 0(7109) find_export: found <record_route> in module rr [/usr/lib/ser/modules/rr.so]<br> 0(7109) find_export: found <loose_route> in module rr [/usr/lib/ser/modules/rr.so]<br> 0(7109) find_export: found <t_relay> in module tm [/usr/lib/ser/modules/tm.so]<br> 0(7109) find_export: found <search> in module textops [/usr/lib/ser/modules/textops.so]<br> 0(7109) find_export: found <sl_send_reply> in module sl_module
[/usr/lib/ser/modules/sl.so]<br> 0(7109) find_export: found <sl_send_reply> in module sl_module [/usr/lib/ser/modules/sl.so]<br> 0(7109) find_export: found <www_authorize> in module auth_db [/usr/lib/ser/modules/auth_db.so]<br> 0(7109) find_export: found <www_challenge> in module auth [/usr/lib/ser/modules/auth.so]<br> 0(7109) find_export: found <save> in module registrar [/usr/lib/ser/modules/registrar.so]<br> 0(7109) find_export: found <proxy_authorize> in module auth_db [/usr/lib/ser/modules/auth_db.so]<br> 0(7109) find_export: <check_to> not found<br> 0(7109) find_export: <check_to> not found<br> 0(7109) parse error (139,21-22): unknown command, missing loadmodule?<br> <br> 0(7109) find_export: found <sl_send_reply> in module sl_module [/usr/lib/ser/modules/sl.so]<br> 0(7109) find_export: found <lookup> in module registrar
[/usr/lib/ser/modules/registrar.so]<br> 0(7109) find_export: found <sl_send_reply> in module sl_module [/usr/lib/ser/modules/sl.so]<br> 0(7109) find_export: found <t_relay> in module tm [/usr/lib/ser/modules/tm.so]<br> 0(7109) find_export: found <sl_reply_error> in module sl_module [/usr/lib/ser/modules/sl.so]<br> ERROR: bad config file (1 errors)<br> 0(7109) DEBUG: tm_shutdown : start<br> 0(7109) DEBUG: tm_shutdown : empting hash table<br> 0(7109) DEBUG: tm_shutdown: releasing timers<br> 0(7109) DEBUG: tm_shutdown : removing semaphores<br> 0(7109) DEBUG: tm_shutdown : done<br> 0(7109) shm_mem_destroy<br> 0(7109) destroying the shared memory lock<br>
[FAILED]<br> <br> <br> can any body help me in this matter,<br> <br> Best Regards<br> <p>
                <hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://beta.messenger.yahoo.com"> Great rates starting at 1¢/min.