<div dir="ltr">Hi,<div><br></div><div>I used 'make menuconfig' to create a script with NAT support and a few of the other options like 'use_dbusrloc'.</div><div><br></div><div>When I check with 'opensips -c' I get a bunch of errors saying 'failed to load module' (see examples below). I used the script as provided from the script generator, with only IP/db info changes. Does the script generator work with version 1.11.5 of OpenSIPS? <br></div><div><br></div><div>ERROR:core:yyparse: module 'signaling.so' not found in '/usr/local/lib/opensips/modules/'<br></div><div><br></div><div><div>CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/opensips.cfg, line 382, column 21-22: unknown command <nat_uac_test>, missing loadmodule?</div><div>CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/opensips.cfg, line 383, column 21-22: unknown command <fix_nated_contact>, missing loadmodule?</div><div>CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/opensips.cfg, line 385, column 21-22: unknown command <rtpproxy_answer>, missing loadmodule?</div></div><div><br></div><div><div>ERROR:core:set_mod_param_regex: no module matching tm found</div><div>CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/opensips.cfg, line 66, column 19-20: Parameter <fr_timeout> not found in module <tm> - can't set</div><div>ERROR:core:set_mod_param_regex: no module matching tm found</div><div>CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/opensips.cfg, line 67, column 20-21: Parameter <fr_inv_timeout> not found in module <tm> - can't set</div><div>ERROR:core:set_mod_param_regex: no module matching tm found</div><div>CRITICAL:core:yyerror: parse error in config file /usr/local//etc/opensips/opensips.cfg, line 68, column 19-20: Parameter <restart_fr_on_each_reply> not found in module <tm> - can't set</div></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 4 August 2015 at 17:39, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<tt>Rodrigo,<br>
<br>
In OpenSIPS you have 2 type of NAT modules:<br>
- for NAT detection, mangling SIP signaling and for doing the NAT
keepalive: you have here the NAT_traversal and nathelper, 2
similar modules as capabilities;<br>
- for media relay - modules that interact with an external media
relay for RTP; and here you have again 2 modules, the mediaproxy
and rtpproxy.<br>
<br>
Regards,<br>
</tt><span class="">
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
</span><div>On 04.08.2015 16:51, Rodrigo Pimenta
Carvalho wrote:<br>
</div>
<blockquote type="cite">
<p>Hi Bogdan,</p>
<p><br>
</p>
<p>Thank you. Very well remembered!</p>
<p><br>
</p>
<p>Let me ask you conceptual question, please:</p>
<p><br>
</p>
<p>When should I use MediaProxy, not being necessary to use
NAT_TRAVERSAL and NATHELPER?</p>
<p><br>
</p>
<p>When should I use NAT_TRAVERSAL, no being necessary to use
MediaProxy and NATHELPER?</p>
<p><br>
</p>
<p>When should I use NATHELPER, not being necesary to use
MediaProxy and NAT_TRAVERSAL?</p>
<p><br>
</p>
<p>When should I use some kind of mix of these 3?</p>
<p><br>
</p>
<p>Best regards. <br>
</p><span class="">
<p><br>
</p>
<p><br>
</p>
<p> <br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
</span><div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>De:</b>
Bogdan-Andrei Iancu <a href="mailto:bogdan@opensips.org" target="_blank"><bogdan@opensips.org></a><br>
<b>Enviado:</b> terça-feira, 4 de agosto de 2015 09:21<br>
<b>Para:</b> OpenSIPS users mailling list; Rodrigo Pimenta
Carvalho<br>
<b>Assunto:</b> Re: [OpenSIPS-Users] Minimal example of NAT
traversing. How could it be done? No need for MediaProxy at
first glance.</font>
<div> </div>
</div><div><div class="h5">
<div><tt>Hi Rodrigo,<br>
<br>
User "make menuconfig" in order to auto-generate scripts -
the residential script has an options for NAT support.<br>
<br>
Regards,<br>
</tt>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
<div>On 04.08.2015 00:00, Rodrigo
Pimenta Carvalho wrote:<br>
</div>
<blockquote type="cite">
<p>Dear OpenSIPS-users,</p>
<p><br>
</p>
<p>I'm studying about NAT traversal with OpenSIPS, since
last week. I also have found the documentation about the
software MediaProxy (in
<a href="http://mediaproxy.ag-projects.com/" target="_blank">http://mediaproxy.ag-projects.com/</a>).</p>
<p><br>
</p>
<p>As long as I'm still getting 'kind of first steps'
knowledge base about NAT traversal, I'm not interested, at
least for a while, in MediaProxy software functionalities.</p>
<p>By the way, as a first contact with the NAT
traversal mechanism, I just would like to let the INVITE
from a caller reaches the callee, with caller behind a
NAT. For this purpose I have 2 questions:</p>
<p><br>
</p>
<p>a) Am I free of using a kind of mediaproxy
software, whether I want to build a prototype schema that
will just creates and sends an simple INVITE, from caller
behind a NAT, to a callee? That is, if I want just to run
a simple test of NAT traversal, I don't have to worry
about mediaproxies, have I?</p>
<p><br>
</p>
<p>b) How could be an example of a simplest script code for
that, considering that there is only one proxy for
all peers and all of it is registered in such proxy using
the same domain?</p>
<p><br>
</p>
<p>Any hint will be very helpful!!</p>
<p>Thanks a lot. <br>
</p>
<p><br>
</p>
<div>
<div name="divtagdefaultwrapper">
<div><font size="2">
<div>RODRIGO PIMENTA CARVALHO<br>
Inatel Competence Center<br>
Software<br>
Ph: <a href="tel:%2B55%2035%203471%209200" value="+553534719200" target="_blank">+55 35 3471 9200</a> RAMAL 979<br>
</div>
</font></div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
</div></div></div>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>