[Serusers] ser.cfg

sai latha sailatha_atp at yahoo.com
Sat Feb 12 13:31:32 CET 2005


Hi
When i am configure ser.cfg it shows errors please
tell me any one
those errors are:-
 0(3722) DEBUG: init_mod: auth_radius
 0(3722) auth_radius - Initializing
 0(3722) auth_radius: Error opening configuration file
 0(3722) init_mod(): Error while initializing module
auth_radius
ERROR: error while initializing modules
--------------------------------------------
my configuration file is
--------------------------------------------
#
# $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15 andrei
Exp $
#
# simple quick-start config script
#
                                                      
                      
# ----------- global configuration parameters
------------------------
                                                      
                      
#debug=3         # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no        # (cmd line: -E)
                                                      
                      
#Uncomment these lines to enter debugging mode
debug=8
fork=yes
log_stderror=yes
                                                      
                      
check_via=no      # (cmd. line: -v)
dns=no           # (cmd. line: -r)
rev_dns=no      # (cmd. line: -R)
children=4
fifo="/tmp/ser_fifo"
                                                      
                      
# ------------------ module loading
----------------------------------
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
                                                      
                      
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_radius.so"
                                                      
                      
# ----------------- setting module-specific parameters
---------------
modparam("usrloc", "db_mode",   0)
modparam("rr", "enable_full_lr", 1)
                                                      
                      
modparam("auth_radius", "radius_config",
"/usr/local/etc/radiusclient/radiusclient.conf")
modparam("auth_radius", "service_type", 15)
                                                      
                      
# -------------------------  request routing logic
-------------------
                                                      
                      
route{
                                                      
                      
     if (!mf_process_maxfwd_header("10")) {
           sl_send_reply("483","Too Many Hops");
           break;
     };
     if ( msg:len > max_len ) {
           sl_send_reply("513", "Message too big");
           break;
     };
                                                      
                      
     # authenticate register message using radius
     if (method=="REGISTER") {
           # Uncomment this if you want to use digest
authentication
           if (!radius_www_authorize("")) {
                 www_challenge("", "0");
                 break;
           };
           save("location");
           break;
     };
                                                      
                      
     # route (proxy) invite message to gateway
#     if (method=="INVITE") || (method=="CANCEL") {
           # Uncomment this if you want to use digest
authentication
#           if (!radius_www_authorize("")) {
 #                www_challenge("", "0");
  #               break;
   #        };
     if (method=="INVITE") || (method=="CANCEL") {
           # Uncomment this if you want to use digest
authentication
           if (!radius_www_authorize("")) {
                 www_challenge("", "0");
                 break;
           };
 
          
                                                      
                      
           record_route();
#           rewritehostport("cisco_sip_gw_ip:5060");
           if (!t_relay()) {
                 sl_reply_error();
           };
           break;
                                      
           };
}

please send me
Thank u
Sailatha


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250




More information about the sr-users mailing list