<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-AU link=blue vlink=purple>
<div class=WordSection1>
<p class=MsoNormal>Hi,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I changed my configure for NAT (using rtp proxy) and can’t
start OpenSIPs now.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:init_mod: initializing
module nathelper<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:find_cmd_export_t: found
<ul_bind_usrloc>(1) in module usrloc [/usr/lib64/opensips/modules/]<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:find_mod_export: found
<db_bind_api> in module db_mysql [/usr/lib64/opensips/modules/]<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_bind_mod: using db bind
api for db_mysql<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_do_init: connection
0x780280 not found in pool<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect:
opening connection: mysql://xxxx:xxxx@localhost/opensips<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect:
connection type is Localhost via UNIX socket<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect:
protocol version is 10<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_connect:
server version is 5.0.77<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_do_init: connection
0x780280 inserted in pool as 0x7801a0<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_new_result: allocate 48
bytes for result set at 0x7802c8<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: 1
columns returned from the query<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_allocate_columns:
allocate 28 bytes for result columns at 0x780310<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns:
RES_NAMES(0x780318)[0]=[table_version]<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns:
use DB_INT result type<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_allocate_rows: allocate
48 bytes for result rows and values at 0x780348<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_str2val:
converting INT [0]<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_columns: freeing
result columns at 0x780310<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_rows: freeing 1
rows<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_row: freeing row
values at 0x780358<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_rows: freeing rows
at 0x780348<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_result: freeing
result set at 0x7802c8<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_new_result: allocate 48
bytes for result set at 0x7802c8<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns: 2
columns returned from the query<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_allocate_columns:
allocate 56 bytes for result columns at 0x780390<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns:
RES_NAMES(0x7803a0)[0]=[rtpproxy_sock]<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns:
use DB_BLOB result type<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns:
RES_NAMES(0x7803b0)[1]=[set_id]<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_get_columns:
use DB_INT result type<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:db_mysql:db_mysql_convert_rows:
no rows returned from the query<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042]
DBG:nathelper:_add_proxies_from_database: No proxies were found<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_columns: freeing
result columns at 0x780390<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_rows: freeing 0
rows<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] DBG:core:db_free_result: freeing
result set at 0x7802c8<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] ERROR:core:init_mod: failed to
initialize module nathelper<o:p></o:p></p>
<p class=MsoNormal>Aug 11 06:09:54 [24042] ERROR:core:main: error while
initializing modules<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>And configure is.<o:p></o:p></p>
<p class=MsoNormal>loadmodule "db_mysql.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "signaling.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "sl.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "tm.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "rr.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "maxfwd.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "usrloc.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "registrar.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "textops.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "mi_fifo.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "uri.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "xlog.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "acc.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "auth.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "auth_db.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "alias_db.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "domain.so"<o:p></o:p></p>
<p class=MsoNormal>loadmodule "nathelper.so"<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>#------ nat parameters ----<o:p></o:p></p>
<p class=MsoNormal>modparam("registrar","received_avp",
"$avp(i:42)")<o:p></o:p></p>
<p class=MsoNormal>modparam("usrloc","nat_bflag", 6)<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper","received_avp",
"$avp(i:42)")<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper", "natping_interval",
5)<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper", "ping_nated_only",
1)<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper", "sipping_bflag",
7)<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper", "sipping_from",
"sip:pinger@<i>domain</i> ")<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper", "db_url",<o:p></o:p></p>
<p class=MsoNormal> "mysql://username:password@localhost/opensips")<o:p></o:p></p>
<p class=MsoNormal>modparam("nathelper", "rtpproxy_sock",
"/var/run/rtpproxy.sock")<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Could anyone help?<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Cheers<o:p></o:p></p>
<p class=MsoNormal>Leon <span style='font-size:8.0pt;font-family:"Trebuchet MS","sans-serif";
color:#4D4D4D'><o:p></o:p></span></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>