<html><body>
<p><font size="2">Hi Leon,</font><br>
<br>
<font size="2">Not sure if this is your problem, but a change was recently made to nathelper to require the dlg module. </font><br>
<br>
<font size="2">I've submitted a patch to fix this:</font><br>
<tt><font size="2"><a href="https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3042794&group_id=232389">https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3042794&group_id=232389</a></font></tt><br>
<br>
<font size="2">Regards,</font><br>
<font size="2">Kennard</font><br>
<br>
<img width="16" height="16" src="cid:1__=07BBFDEFDFB5A8AD8f9e8a93df9@logitech.com" border="0" alt="Inactive hide details for "Leon Li" ---08/10/2010 11:34:24 PM---Hi,"><font size="2" color="#424282">"Leon Li" ---08/10/2010 11:34:24 PM---Hi,</font><br>
<br>
<font size="2" color="#5F5F5F">From:        </font><font size="2">"Leon Li" <Leon.Li@aarnet.edu.au></font><br>
<font size="2" color="#5F5F5F">To:        </font><font size="2">"OpenSIPS users mailling list" <users@lists.opensips.org></font><br>
<font size="2" color="#5F5F5F">Date:        </font><font size="2">08/10/2010 11:34 PM</font><br>
<font size="2" color="#5F5F5F">Subject:        </font><font size="2">[OpenSIPS-Users] Can't initialize nathelper</font><br>
<font size="2" color="#5F5F5F">Sent by:        </font><font size="2">users-bounces@lists.opensips.org</font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font face="Calibri">Hi,</font><br>
<font face="Calibri"> </font><br>
<font face="Calibri">I changed my configure for NAT (using rtp proxy) and can’t start OpenSIPs now.</font><br>
<font face="Calibri"> </font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:init_mod: initializing module nathelper</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:find_cmd_export_t: found <ul_bind_usrloc>(1) in module usrloc [/usr/lib64/opensips/modules/]</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:find_mod_export: found <db_bind_api> in module db_mysql [/usr/lib64/opensips/modules/]</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_bind_mod: using db bind api for db_mysql</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_do_init: connection 0x780280 not found in pool</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect: opening connection: mysql://xxxx:xxxx@localhost/opensips</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect: connection type is Localhost via UNIX socket</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect: protocol version is 10</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect: server version is 5.0.77</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_do_init: connection 0x780280 inserted in pool as 0x7801a0</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7802c8</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: 1 columns returned from the query</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_allocate_columns: allocate 28 bytes for result columns at 0x780310</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x780318)[0]=[table_version]</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: use DB_INT result type</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_allocate_rows: allocate 48 bytes for result rows and values at 0x780348</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_str2val: converting INT [0]</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_columns: freeing result columns at 0x780310</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_rows: freeing 1 rows</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_row: freeing row values at 0x780358</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_rows: freeing rows at 0x780348</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_result: freeing result set at 0x7802c8</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_new_result: allocate 48 bytes for result set at 0x7802c8</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: 2 columns returned from the query</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_allocate_columns: allocate 56 bytes for result columns at 0x780390</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7803a0)[0]=[rtpproxy_sock]</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: use DB_BLOB result type</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: RES_NAMES(0x7803b0)[1]=[set_id]</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: use DB_INT result type</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_convert_rows: no rows returned from the query</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:nathelper:_add_proxies_from_database: No proxies were found</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_columns: freeing result columns at 0x780390</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_rows: freeing 0 rows</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] DBG:core:db_free_result: freeing result set at 0x7802c8</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] ERROR:core:init_mod: failed to initialize module nathelper</font><br>
<font face="Calibri">Aug 11 06:09:54 [24042] ERROR:core:main: error while initializing modules</font><br>
<font face="Calibri"> </font><br>
<font face="Calibri">And configure is.</font><br>
<font face="Calibri">loadmodule "db_mysql.so"</font><br>
<font face="Calibri">loadmodule "signaling.so"</font><br>
<font face="Calibri">loadmodule "sl.so"</font><br>
<font face="Calibri">loadmodule "tm.so"</font><br>
<font face="Calibri">loadmodule "rr.so"</font><br>
<font face="Calibri">loadmodule "maxfwd.so"</font><br>
<font face="Calibri">loadmodule "usrloc.so"</font><br>
<font face="Calibri">loadmodule "registrar.so"</font><br>
<font face="Calibri">loadmodule "textops.so"</font><br>
<font face="Calibri">loadmodule "mi_fifo.so"</font><br>
<font face="Calibri">loadmodule "uri.so"</font><br>
<font face="Calibri">loadmodule "xlog.so"</font><br>
<font face="Calibri">loadmodule "acc.so"</font><br>
<font face="Calibri">loadmodule "auth.so"</font><br>
<font face="Calibri">loadmodule "auth_db.so"</font><br>
<font face="Calibri">loadmodule "alias_db.so"</font><br>
<font face="Calibri">loadmodule "domain.so"</font><br>
<font face="Calibri">loadmodule "nathelper.so"</font><br>
<font face="Calibri"> </font><br>
<font face="Calibri">#------ nat parameters ----</font><br>
<font face="Calibri">modparam("registrar","received_avp", "$avp(i:42)")</font><br>
<font face="Calibri">modparam("usrloc","nat_bflag", 6)</font><br>
<font face="Calibri">modparam("nathelper","received_avp", "$avp(i:42)")</font><br>
<font face="Calibri">modparam("nathelper", "natping_interval", 5)</font><br>
<font face="Calibri">modparam("nathelper", "ping_nated_only", 1)</font><br>
<font face="Calibri">modparam("nathelper", "sipping_bflag", 7)</font><br>
<font face="Calibri">modparam("nathelper", "sipping_from", "sip:pinger@</font><i><font face="Calibri">domain</font></i><font face="Calibri"> ")</font><br>
<font face="Calibri">modparam("nathelper", "db_url",</font><br>
<font face="Calibri"> "mysql://username:password@localhost/opensips")</font><br>
<font face="Calibri">modparam("nathelper", "rtpproxy_sock", "/var/run/rtpproxy.sock")</font><br>
<font face="Calibri"> </font><br>
<font face="Calibri">Could anyone help?</font><br>
<font face="Calibri"> </font><br>
<font face="Calibri">Cheers</font><br>
<font face="Calibri">Leon </font><br>
<font face="Calibri"> </font><tt><font size="2">_______________________________________________<br>
Users mailing list<br>
Users@lists.opensips.org<br>
</font></tt><tt><font size="2"><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></font></tt><tt><font size="2"><br>
</font></tt><br>
</body></html>