[Serusers] Authentication Problem with registerd users....

fay butt fay_butt at yahoo.com
Tue Apr 18 15:49:33 CEST 2006


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


More information about the sr-users mailing list