<p dir="ltr">That is indeed correct, the script was pointing to the incorrect path with &#39;lib&#39; instead of &#39;lib64&#39;.</p>
<p dir="ltr">Fixing this removed the errors.   Thanks. </p>
<div class="gmail_quote">On 5 Aug 2015 08:59, &quot;Bogdan-Andrei Iancu&quot; &lt;<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Nabeel,<br>
      <br>
      You mentioned getting some &quot;failed to load module&quot; errors - maybe
      your script id pointing to a different path rather than where your
      opensips is installed.<br>
      <br>
      The &quot;unknown commnad&quot; errors are side effects of modules not being
      loaded.<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 05.08.2015 07:25, Nabeel wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I used &#39;make menuconfig&#39; to create a script with NAT
          support and a few of the other options like &#39;use_dbusrloc&#39;.</div>
        <div><br>
        </div>
        <div>When I check with &#39;opensips -c&#39; I get a bunch of errors
          saying &#39;failed to load module&#39; (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 &#39;signaling.so&#39; not found in
          &#39;/usr/local/lib/opensips/modules/&#39;<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 &lt;nat_uac_test&gt;, 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 &lt;fix_nated_contact&gt;, 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 &lt;rtpproxy_answer&gt;, 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 &lt;fr_timeout&gt; not found in module
            &lt;tm&gt; - can&#39;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 &lt;fr_inv_timeout&gt; not found in module
            &lt;tm&gt; - can&#39;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 &lt;restart_fr_on_each_reply&gt; not found
            in module &lt;tm&gt; - can&#39;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">&lt;<a href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</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>
                <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>
                  <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">&lt;bogdan@opensips.org&gt;</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>
                      <div><tt>Hi Rodrigo,<br>
                          <br>
                          User &quot;make menuconfig&quot; 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&#39;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&#39;m still getting &#39;kind of first
                            steps&#39; knowledge base about NAT traversal,
                            I&#39;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&#39;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" target="_blank">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>
    </blockquote>
    <br>
  </div>

</blockquote></div>