<DIV id=result_box dir=ltr>Hi</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>It's my first message and i am not accustomed.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I have install OpenSER 1.2.1 last month but i have bug because i use a t_relay with a renegociation of codec.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I have install OpenSER 1.3.1 but i have one error when i lunch openser, i have error:</DIV>
<DIV dir=ltr>0(24405) set_mod_param_regex: parameter &lt;fr_inv_timer&gt; not found in module &lt;lcr&gt;<BR>&nbsp;0(24405) parse error (49,19-20): Can't set module parameter</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I have not modify my config file i dont understand.</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>please if you have already see</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>My openser.cfg:</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr><FONT size=2>
<P>####</P>
<P>#### ----------- global configuration parameters ------------------------</P>
<P>debug=4 # debug level (cmd line: -dddddddddd)</P>
<P>fork=yes</P>
<P>log_stderror=yes# (cmd line: -E)</P>
<P>check_via=no # (cmd. line: -v)</P>
<P>dns=no # (cmd. line: -r)</P>
<P>rev_dns=no # (cmd. line: -R)</P>
<P>listen=xx.xxx.xxx.xx</P>
<P>port=5060</P>
<P>children=4</P>
<P># fifo="/tmp/ser_fifo"</P>
<P>####-----------------------------------------------------------------------</P>
<P>####</P>
<P></P>
<P>&nbsp;</P>
<P>#### </P>
<P>#### ------------------ module loading ----------------------------------</P>
<P>loadmodule "/usr/lib/openser/modules/mysql.so"</P>
<P>loadmodule "/usr/lib/openser/modules/nathelper.so"</P>
<P>loadmodule "/usr/lib/openser/modules/sl.so"</P>
<P>loadmodule "/usr/lib/openser/modules/tm.so"</P>
<P>loadmodule "/usr/lib/openser/modules/rr.so"</P>
<P>loadmodule "/usr/lib/openser/modules/maxfwd.so"</P>
<P>loadmodule "/usr/lib/openser/modules/lcr.so"</P>
<P>loadmodule "/usr/lib/openser/modules/acc.so" </P>
<P>loadmodule "/usr/lib/openser/modules/usrloc.so"</P>
<P>loadmodule "/usr/lib/openser/modules/registrar.so"</P>
<P>####------------------------------------------------------------------------</P>
<P>####</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>####</P>
<P>#### ----------------- setting module-specific parameters ---------------</P>
<P>#modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo") </P>
<P>########################### Least Cost routing #############################</P>
<P>modparam("lcr","db_url", "mysql://root:Gabriel0$@localhost/openser")</P>
<P>modparam("lcr","gw_table","gw")</P>
<P>modparam("lcr","gw_name_column","gw_name")</P>
<P>modparam("lcr","ip_addr_column","ip_addr")</P>
<P>modparam("lcr","port_column","port")</P>
<P>#modparam("lcr","uri_scheme_column","uri_scheme")</P>
<P>#modparam("lcr","transport_column","transport")</P>
<P>modparam("lcr","grp_id_column","grp_id")</P>
<P>modparam("lcr","lcr_table","lcr")</P>
<P>modparam("lcr","prefix_column","prefix")</P>
<P>modparam("lcr","from_uri_column","from_uri")</P>
<P>modparam("lcr","priority_column","priority")</P>
<P>#modparam("lcr","gw_uri_avp","1400")</P>
<P>modparam("lcr","contact_avp","1401")</P>
<P>modparam("lcr","fr_inv_timer_avp","fr_inv_timer_avp")</P>
<P>#modparam("lcr","rpid_avp","rpid")</P>
<P>modparam("lcr","fr_inv_timer",90)</P>
<P>modparam("lcr","fr_inv_timer_next",30)</P>
<P>########################### RR shit #########################################</P>
<P>modparam("rr","enable_full_lr",1)</P>
<P>########################### ACC #############################################</P>
<P>modparam("acc","db_url", "mysql://root:Gabriel0$@localhost/openser")</P>
<P>modparam("acc", "db_flag", 2) </P>
<P>############################ usrloc params ################################## </P>
<P>modparam("usrloc", "db_url", "mysql://root:Gabriel0$@localhost/openser") </P>
<P>modparam("usrloc", "db_mode", 3)</P>
<P>####-------------------------------------------------------------------------</P>
<P>####</P>
<P>&nbsp;</P>
<P>####</P>
<P>####---------------------------- Routing ------------------------------------</P>
<P>route</P>
<P>{</P>
<P>############################## Sanity checks #################################</P>
<P>if (!mf_process_maxfwd_header("10")) </P>
<P>{</P>
<P>sl_send_reply("483","Too Many Hops");</P>
<P>};</P>
<P>if (msg:len &gt;= max_len )</P>
<P>{</P>
<P>sl_send_reply("513", "Message too big");</P>
<P>};</P>
<P>########################## Record route for NAT ################################</P>
<P>if(!method=="REGISTER")</P>
<P>{</P>
<P>record_route();</P>
<P>};</P>
<P></P>
<P>########################## Register ########################################### </P>
<P>if (method=="REGISTER") </P>
<P>{</P>
<P>if (uri==myself) </P>
<P>{</P>
<P>sl_send_reply("100", "Trying");</P>
<P>if(!save("location")) </P>
<P>{</P>
<P>sl_reply_error();</P>
<P>};</P>
<P>exit;</P>
<P>} </P>
<P>else </P>
<P>{</P>
<P>sl_send_reply("403", "Forbidden");</P>
<P>exit;</P>
<P>};</P>
<P>};</P>
<P>#############################</P>
<P>if(loose_route())</P>
<P>{</P>
<P>route(1); </P>
<P>};</P>
<P>############################ Least Cost Routing ###################################</P>
<P>if(!load_gws())</P>
<P>{</P>
<P>sl_send_reply("500", "Internal server error, unable to load gateways");</P>
<P>}</P>
<P></P>
<P>if(!next_gw())</P>
<P>{</P>
<P>sl_send_reply("503", "Service not available, no gateways found");</P>
<P>}; </P>
<P>###################################################################################</P>
<P>route(1);</P>
<P>}</P>
<P></P>
<P>route[1]</P>
<P>{</P>
<P># send it out now; use stateful forwarding as it works reliably</P>
<P># even for UDP2TCP </P>
<P>setflag(2);</P>
<P>if(method=="INVITE") </P>
<P>{</P>
<P>force_rtp_proxy();</P>
<P>t_on_reply("1");</P>
<P>};</P>
<P>if (!t_relay()) </P>
<P>{</P>
<P>sl_reply_error();</P>
<P>};</P>
<P>}</P>
<P>&nbsp;</P>
<P></P>
<P>onreply_route[1] </P>
<P>{</P>
<P>setflag(2);</P>
<P>if (status=~"[12]0-90-9")</P>
<P>{</P>
<P>force_rtp_proxy();</P>
<P>};</P>
<P>}</P>
<P>####--------------------------------------------------------------------------------------------</P>
<P>####</P></FONT></DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>I have this when i started openser :</DIV>
<DIV dir=ltr>&nbsp;</DIV>
<DIV dir=ltr>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/mysql.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/nathelper.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/sl.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/tm.so<BR>&nbsp;0(24405) DEBUG: register_pv: tm<BR>&nbsp;0(24405) xl_add_extra_spec: extra items list is not initialized<BR>&nbsp;0(24405) xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]<BR>&nbsp;0(24405) xl_add_extra_spec: inserting extra item [T_reply_code] at [1]<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/rr.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/maxfwd.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/lcr.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/acc.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/usrloc.so<BR>&nbsp;0(24405) loading module /usr/local/lib/openser/modules/registrar.so<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;db_url&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;gw_table&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;gw_name_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;ip_addr_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;port_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;uri_scheme_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;transport_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;grp_id_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;lcr_table&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;prefix_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;from_uri_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;priority_column&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;gw_uri_avp&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;contact_avp&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;fr_inv_timer_avp&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;rpid_avp&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: parameter &lt;fr_inv_timer&gt; not found in module &lt;lcr&gt;<BR>&nbsp;0(24405) parse error (49,19-20): Can't set module parameter<BR>&nbsp;0(24405) set_mod_param_regex: lcr matches module lcr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;fr_inv_timer_next&gt; in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) set_mod_param_regex: rr matches module rr<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;enable_full_lr&gt; in module rr [/usr/local/lib/openser/modules/rr.so]<BR>&nbsp;0(24405) set_mod_param_regex: acc matches module acc<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;db_url&gt; in module acc [/usr/local/lib/openser/modules/acc.so]<BR>&nbsp;0(24405) set_mod_param_regex: acc matches module acc<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;db_flag&gt; in module acc [/usr/local/lib/openser/modules/acc.so]<BR>&nbsp;0(24405) set_mod_param_regex: usrloc matches module usrloc<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;db_url&gt; in module usrloc [/usr/local/lib/openser/modules/usrloc.so]<BR>&nbsp;0(24405) set_mod_param_regex: usrloc matches module usrloc<BR>&nbsp;0(24405) set_mod_param_regex: found &lt;db_mode&gt; in module usrloc [/usr/local/lib/openser/modules/usrloc.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;mf_process_maxfwd_header&gt;(1) in module maxfwd [/usr/local/lib/openser/modules/maxfwd.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_send_reply&gt;(2) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_send_reply&gt;(2) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;record_route&gt;(0) in module rr [/usr/local/lib/openser/modules/rr.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_send_reply&gt;(2) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;save&gt;(1) in module registrar [/usr/local/lib/openser/modules/registrar.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_reply_error&gt;(0) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_send_reply&gt;(2) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;loose_route&gt;(0) in module rr [/usr/local/lib/openser/modules/rr.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;load_gws&gt;(0) in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_send_reply&gt;(2) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;next_gw&gt;(0) in module lcr [/usr/local/lib/openser/modules/lcr.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_send_reply&gt;(2) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;force_rtp_proxy&gt;(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;t_on_reply&gt;(1) in module tm [/usr/local/lib/openser/modules/tm.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;t_relay&gt;(0) in module tm [/usr/local/lib/openser/modules/tm.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;sl_reply_error&gt;(0) in module sl [/usr/local/lib/openser/modules/sl.so]<BR>&nbsp;0(24405) find_cmd_export_t: found &lt;force_rtp_proxy&gt;(0) in module nathelper [/usr/local/lib/openser/modules/nathelper.so]<BR>ERROR: bad config file (1 errors)<BR>&nbsp;0(24405) DEBUG: tm_shutdown : start<BR>&nbsp;0(24405) DEBUG: tm_shutdown : emptying hash table<BR>&nbsp;0(24405) DEBUG: tm_shutdown : releasing timers<BR>&nbsp;0(24405) DEBUG: tm_shutdown : removing semaphores<BR>&nbsp;0(24405) DEBUG: tm_shutdown : destroying tmcb lists<BR>&nbsp;0(24405) DEBUG: tm_shutdown : done<BR>&nbsp;0(24405) shm_mem_destroy<BR><BR></DIV>