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("nathelper", "rtpproxy_disable", 1)<br>#modparam("registrar", "nat_flag", 6)<br>
#modparam("registrar", "use_domain", 0) <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't set module parameter<br>
<br>I saw from the document that those are valid arguments, and I don'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. 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="/usr/local/lib/openser/modules/"<br><br>loadmodule "/usr/local/lib/openser/modules/mysql.so"<br>
loadmodule "/usr/local/lib/openser/modules/sl.so"<br>loadmodule "/usr/local/lib/openser/modules/tm.so"<br>loadmodule "/usr/local/lib/openser/modules/rr.so"<br>loadmodule "/usr/local/lib/openser/modules/maxfwd.so"<br>
loadmodule "/usr/local/lib/openser/modules/usrloc.so"<br>loadmodule "/usr/local/lib/openser/modules/registrar.so"<br>loadmodule "/usr/local/lib/openser/modules/auth.so"<br>loadmodule "/usr/local/lib/openser/modules/auth_db.so"<br>
loadmodule "/usr/local/lib/openser/modules/uri.so"<br>loadmodule "/usr/local/lib/openser/modules/uri_db.so"<br>loadmodule "/usr/local/lib/openser/modules/mediaproxy.so"<br>loadmodule "/usr/local/lib/openser/modules/nathelper.so"<br>
loadmodule "/usr/local/lib/openser/modules/textops.so"<br>loadmodule "/usr/local/lib/openser/modules/domain.so"<br>loadmodule "/usr/local/lib/openser/modules/xlog.so"<br>loadmodule "/usr/local/lib/openser/modules/uac.so"<br>
loadmodule "/usr/local/lib/openser/modules/speeddial.so"<br>loadmodule "/usr/local/lib/openser/modules/avpops.so"<br><br><br># ----------------- setting module-specific parameters ---------------<br><br>
<br>#modparam("usrloc|auth_db|domain|speeddial|acc", "db_url", "mysql://localhost:openserrw@localhost/openser")<br>modparam("auth_db", "db_url","mysql://openser:openserrw@localhost/openser")<br>
modparam("auth_db", "calculate_ha1", 1)<br>modparam("auth_db", "use_domain", 0)<br>modparam("domain", "db_mode", 1)<br>#modparam("nathelper", "rtpproxy_disable", 1)<br>
modparam("nathelper", "natping_interval", 60)<br>modparam("mediaproxy","natping_interval", 30)<br>modparam("mediaproxy","mediaproxy_socket", "/var/run/mediaproxy.sock")<br>
modparam("usrloc", "db_mode", 2)<br>modparam("usrloc", "use_domain", 0)<br><br>modparam("registrar", "default_expires", 60)<br>modparam("registrar", "min_expires", 30)<br>
#modparam("registrar", "nat_flag", 6)<br>#modparam("registrar", "use_domain", 0)<br>modparam("rr", "enable_full_lr", 1)<br>#modparam("auth", "rpid_suffix", ";party=calling;id-type=subscriber;screen=yes")<br>
#modparam("auth", "rpid_avp", "s:rpid")<br><br>