Hi
 
It's my first message and i am not accustomed.
 
I have install OpenSER 1.2.1 last month but i have bug because i use a t_relay with a renegociation of codec.
 
I have install OpenSER 1.3.1 but i have one error when i lunch openser, i have error:
0(24405) set_mod_param_regex: parameter <fr_inv_timer> not found in module <lcr>
 0(24405) parse error (49,19-20): Can't set module parameter
 
I have not modify my config file i dont understand.
 
please if you have already see
 
 
My openser.cfg:
 

####

#### ----------- global configuration parameters ------------------------

debug=4 # debug level (cmd line: -dddddddddd)

fork=yes

log_stderror=yes# (cmd line: -E)

check_via=no # (cmd. line: -v)

dns=no # (cmd. line: -r)

rev_dns=no # (cmd. line: -R)

listen=xx.xxx.xxx.xx

port=5060

children=4

# fifo="/tmp/ser_fifo"

####-----------------------------------------------------------------------

####

 

####

#### ------------------ module loading ----------------------------------

loadmodule "/usr/lib/openser/modules/mysql.so"

loadmodule "/usr/lib/openser/modules/nathelper.so"

loadmodule "/usr/lib/openser/modules/sl.so"

loadmodule "/usr/lib/openser/modules/tm.so"

loadmodule "/usr/lib/openser/modules/rr.so"

loadmodule "/usr/lib/openser/modules/maxfwd.so"

loadmodule "/usr/lib/openser/modules/lcr.so"

loadmodule "/usr/lib/openser/modules/acc.so"

loadmodule "/usr/lib/openser/modules/usrloc.so"

loadmodule "/usr/lib/openser/modules/registrar.so"

####------------------------------------------------------------------------

####

 

 

####

#### ----------------- setting module-specific parameters ---------------

#modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")

########################### Least Cost routing #############################

modparam("lcr","db_url", "mysql://root:Gabriel0$@localhost/openser")

modparam("lcr","gw_table","gw")

modparam("lcr","gw_name_column","gw_name")

modparam("lcr","ip_addr_column","ip_addr")

modparam("lcr","port_column","port")

#modparam("lcr","uri_scheme_column","uri_scheme")

#modparam("lcr","transport_column","transport")

modparam("lcr","grp_id_column","grp_id")

modparam("lcr","lcr_table","lcr")

modparam("lcr","prefix_column","prefix")

modparam("lcr","from_uri_column","from_uri")

modparam("lcr","priority_column","priority")

#modparam("lcr","gw_uri_avp","1400")

modparam("lcr","contact_avp","1401")

modparam("lcr","fr_inv_timer_avp","fr_inv_timer_avp")

#modparam("lcr","rpid_avp","rpid")

modparam("lcr","fr_inv_timer",90)

modparam("lcr","fr_inv_timer_next",30)

########################### RR shit #########################################

modparam("rr","enable_full_lr",1)

########################### ACC #############################################

modparam("acc","db_url", "mysql://root:Gabriel0$@localhost/openser")

modparam("acc", "db_flag", 2)

############################ usrloc params ##################################

modparam("usrloc", "db_url", "mysql://root:Gabriel0$@localhost/openser")

modparam("usrloc", "db_mode", 3)

####-------------------------------------------------------------------------

####

 

####

####---------------------------- Routing ------------------------------------

route

{

############################## Sanity checks #################################

if (!mf_process_maxfwd_header("10"))

{

sl_send_reply("483","Too Many Hops");

};

if (msg:len >= max_len )

{

sl_send_reply("513", "Message too big");

};

########################## Record route for NAT ################################

if(!method=="REGISTER")

{

record_route();

};

########################## Register ###########################################

if (method=="REGISTER")

{

if (uri==myself)

{

sl_send_reply("100", "Trying");

if(!save("location"))

{

sl_reply_error();

};

exit;

}

else

{

sl_send_reply("403", "Forbidden");

exit;

};

};

#############################

if(loose_route())

{

route(1);

};

############################ Least Cost Routing ###################################

if(!load_gws())

{

sl_send_reply("500", "Internal server error, unable to load gateways");

}

if(!next_gw())

{

sl_send_reply("503", "Service not available, no gateways found");

};

###################################################################################

route(1);

}

route[1]

{

# send it out now; use stateful forwarding as it works reliably

# even for UDP2TCP

setflag(2);

if(method=="INVITE")

{

force_rtp_proxy();

t_on_reply("1");

};

if (!t_relay())

{

sl_reply_error();

};

}

 

onreply_route[1]

{

setflag(2);

if (status=~"[12]0-90-9")

{

force_rtp_proxy();

};

}

####--------------------------------------------------------------------------------------------

####

 
 
 
I have this when i started openser :
 
 0(24405) loading module /usr/local/lib/openser/modules/mysql.so
 0(24405) loading module /usr/local/lib/openser/modules/nathelper.so
 0(24405) loading module /usr/local/lib/openser/modules/sl.so
 0(24405) loading module /usr/local/lib/openser/modules/tm.so
 0(24405) DEBUG: register_pv: tm
 0(24405) xl_add_extra_spec: extra items list is not initialized
 0(24405) xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]
 0(24405) xl_add_extra_spec: inserting extra item [T_reply_code] at [1]
 0(24405) loading module /usr/local/lib/openser/modules/rr.so
 0(24405) loading module /usr/local/lib/openser/modules/maxfwd.so
 0(24405) loading module /usr/local/lib/openser/modules/lcr.so
 0(24405) loading module /usr/local/lib/openser/modules/acc.so
 0(24405) loading module /usr/local/lib/openser/modules/usrloc.so
 0(24405) loading module /usr/local/lib/openser/modules/registrar.so
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <db_url> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <gw_table> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <gw_name_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <ip_addr_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <port_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <uri_scheme_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <transport_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <grp_id_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <lcr_table> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <prefix_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <from_uri_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <priority_column> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <gw_uri_avp> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <contact_avp> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <fr_inv_timer_avp> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <rpid_avp> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: parameter <fr_inv_timer> not found in module <lcr>
 0(24405) parse error (49,19-20): Can't set module parameter
 0(24405) set_mod_param_regex: lcr matches module lcr
 0(24405) set_mod_param_regex: found <fr_inv_timer_next> in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) set_mod_param_regex: rr matches module rr
 0(24405) set_mod_param_regex: found <enable_full_lr> in module rr [/usr/local/lib/openser/modules/rr.so]
 0(24405) set_mod_param_regex: acc matches module acc
 0(24405) set_mod_param_regex: found <db_url> in module acc [/usr/local/lib/openser/modules/acc.so]
 0(24405) set_mod_param_regex: acc matches module acc
 0(24405) set_mod_param_regex: found <db_flag> in module acc [/usr/local/lib/openser/modules/acc.so]
 0(24405) set_mod_param_regex: usrloc matches module usrloc
 0(24405) set_mod_param_regex: found <db_url> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
 0(24405) set_mod_param_regex: usrloc matches module usrloc
 0(24405) set_mod_param_regex: found <db_mode> in module usrloc [/usr/local/lib/openser/modules/usrloc.so]
 0(24405) find_cmd_export_t: found <mf_process_maxfwd_header>(1) in module maxfwd [/usr/local/lib/openser/modules/maxfwd.so]
 0(24405) find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <record_route>(0) in module rr [/usr/local/lib/openser/modules/rr.so]
 0(24405) find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <save>(1) in module registrar [/usr/local/lib/openser/modules/registrar.so]
 0(24405) find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <loose_route>(0) in module rr [/usr/local/lib/openser/modules/rr.so]
 0(24405) find_cmd_export_t: found <load_gws>(0) in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <next_gw>(0) in module lcr [/usr/local/lib/openser/modules/lcr.so]
 0(24405) find_cmd_export_t: found <sl_send_reply>(2) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <force_rtp_proxy>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
 0(24405) find_cmd_export_t: found <t_on_reply>(1) in module tm [/usr/local/lib/openser/modules/tm.so]
 0(24405) find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/openser/modules/tm.so]
 0(24405) find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/openser/modules/sl.so]
 0(24405) find_cmd_export_t: found <force_rtp_proxy>(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]
ERROR: bad config file (1 errors)
 0(24405) DEBUG: tm_shutdown : start
 0(24405) DEBUG: tm_shutdown : emptying hash table
 0(24405) DEBUG: tm_shutdown : releasing timers
 0(24405) DEBUG: tm_shutdown : removing semaphores
 0(24405) DEBUG: tm_shutdown : destroying tmcb lists
 0(24405) DEBUG: tm_shutdown : done
 0(24405) shm_mem_destroy