Hi,<br><br>I followed instruction from <a href="http://www.jeremy-mcnamara.com/2007/03/28/how-to-configure-openser-sip-registar-sip-proxy-and-far-end-nat-traversal-for-media/">http://www.jeremy-mcnamara.com/2007/03/28/how-to-configure-openser-sip-registar-sip-proxy-and-far-end-nat-traversal-for-media/</a> to setup Openser.<br>
<br>#modparam(&quot;nathelper&quot;, &quot;rtpproxy_disable&quot;, 1)<br>#modparam(&quot;registrar&quot;, &quot;nat_flag&quot;, 6)<br>
#modparam(&quot;registrar&quot;, &quot;use_domain&quot;, 0)&nbsp;<br><br>The above three lines will cause the server to give error:<br>May 20 23:29:51 [2784] CRITICAL:core:yyerror: parse error in config file, line 93, column 19-20: Can&#39;t set module parameter<br>
<br>I saw from the document that those are valid arguments, and I don&#39;t understand why Openser complain about those parameters.<br><br>Then, I comment out those three lines, and get another errors:<br><br>May 20 23:48:25 [3218] CRITICAL:mediaproxy:mod_init: bad config - nat ping enabled, but no nat bflag set in the usrloc module<br>
May 20 23:48:25 [3218] ERROR:core:init_mod: failed to initialize module mediaproxy<br>May 20 23:48:25 [3218] ERROR:core:main: error while initializing modules<br><br>I am very new to openser.&nbsp; Any help or suggestion will be greatly appreciated.<br>
<br>Here is my openser.cfg<br><br><br>####### Modules Section ########<br><br>#set module path<br>mpath=&quot;/usr/local/lib/openser/modules/&quot;<br><br>loadmodule &quot;/usr/local/lib/openser/modules/mysql.so&quot;<br>
loadmodule &quot;/usr/local/lib/openser/modules/sl.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/tm.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/rr.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/maxfwd.so&quot;<br>
loadmodule &quot;/usr/local/lib/openser/modules/usrloc.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/registrar.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/auth.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/auth_db.so&quot;<br>
loadmodule &quot;/usr/local/lib/openser/modules/uri.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/uri_db.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/mediaproxy.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/nathelper.so&quot;<br>
loadmodule &quot;/usr/local/lib/openser/modules/textops.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/domain.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/xlog.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/uac.so&quot;<br>
loadmodule &quot;/usr/local/lib/openser/modules/speeddial.so&quot;<br>loadmodule &quot;/usr/local/lib/openser/modules/avpops.so&quot;<br><br><br># ----------------- setting module-specific parameters ---------------<br><br>
<br>#modparam(&quot;usrloc|auth_db|domain|speeddial|acc&quot;, &quot;db_url&quot;, &quot;mysql://localhost:openserrw@localhost/openser&quot;)<br>modparam(&quot;auth_db&quot;, &quot;db_url&quot;,&quot;mysql://openser:openserrw@localhost/openser&quot;)<br>
modparam(&quot;auth_db&quot;, &quot;calculate_ha1&quot;, 1)<br>modparam(&quot;auth_db&quot;, &quot;use_domain&quot;, 0)<br>modparam(&quot;domain&quot;, &quot;db_mode&quot;, 1)<br>#modparam(&quot;nathelper&quot;, &quot;rtpproxy_disable&quot;, 1)<br>
modparam(&quot;nathelper&quot;, &quot;natping_interval&quot;, 60)<br>modparam(&quot;mediaproxy&quot;,&quot;natping_interval&quot;, 30)<br>modparam(&quot;mediaproxy&quot;,&quot;mediaproxy_socket&quot;, &quot;/var/run/mediaproxy.sock&quot;)<br>
modparam(&quot;usrloc&quot;, &quot;db_mode&quot;, 2)<br>modparam(&quot;usrloc&quot;, &quot;use_domain&quot;, 0)<br><br>modparam(&quot;registrar&quot;, &quot;default_expires&quot;, 60)<br>modparam(&quot;registrar&quot;, &quot;min_expires&quot;, 30)<br>
#modparam(&quot;registrar&quot;, &quot;nat_flag&quot;, 6)<br>#modparam(&quot;registrar&quot;, &quot;use_domain&quot;, 0)<br>modparam(&quot;rr&quot;, &quot;enable_full_lr&quot;, 1)<br>#modparam(&quot;auth&quot;, &quot;rpid_suffix&quot;, &quot;;party=calling;id-type=subscriber;screen=yes&quot;)<br>
#modparam(&quot;auth&quot;, &quot;rpid_avp&quot;, &quot;s:rpid&quot;)<br><br>