Hey Guys,<div><br></div><div>Some ideas?</div><div><br></div><div>Regards,</div><div><br></div><div>Wesley Volcov<br><br><div class="gmail_quote">On 11 December 2012 11:35, Wesley Volcov <span dir="ltr">&lt;<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<div><br></div><div>I could fix the rtpproxy problem, it was a compilation problem.</div><div><br></div><div>
But now, I&#39;m having a audio problem.</div>
<div><br></div><div>Let me explain:</div><div><br></div><div>
I have a Opensips with 2 IP addres, a public one (200.0.0.1) and a private one (10.0.0.1).</div><div><br></div><div>The orignation endppint is in the private network (IP TEL), the PSTN gateway is in the public network.</div>


<div><br></div><div>I receive a call from the IP TEL and send it to the gateway.</div><div><br></div><div>In the INVITE that the Opensips sends to the PSTN gateway, I see the Public IP in the CIN parameter, but in the 200 OK that the Opensips sends to the TEL IP I see the public IP to, and call goes to one way audio.</div>


<div>The Opensips should send the private IP in the 200OK to the IP TEL.</div><div><br></div><div>RTPPROXY run command: /usr/local/bin/rtpproxy -l 200.0.0.1 10.0.0.1 -s udp:<a href="tel:127.0.0.1%207890" value="+551270017890" target="_blank">127.0.0.1 7890</a> -F -m 10000 -M 20000 -d DBUG</div>


<div><br></div><div>Opensips:</div><div><div>if (is_method(&quot;INVITE&quot;)){</div><div>                rtpproxy_offer(&quot;&quot;,&quot;200.0.0.1&quot;);</div><div>        }</div><div><br></div><div><div>onreply_route [ONREPLY] {</div>


<div><br></div><div>        rtpproxy_answer(&quot;&quot;,&quot;10.0.0.1&quot;);</div></div><div>}</div><div><br></div><div>I&#39;ve tried some parametes in the rtpproxy like FW, I, E, but I had the same result.</div><div>


<br></div><div>I&#39;am missing some thing?</div><div><br></div><div>Please, help me guys.</div><div><br></div><div>Thanks a lot</div><div><div class="h5"><div><br></div><div class="gmail_quote">On 1 December 2012 03:05, SamyGo <span dir="ltr">&lt;<a href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p>Hi,<br>
The issue is with the command you are using to start RTPproxy. Missing a : between 127.0.0.1 and 7890. So now you may not see RTPproxy on netstat output.<br>
Regards,<br>
Sammy</p><div><div>
<div class="gmail_quote">On Dec 1, 2012 12:30 AM, &quot;Răzvan Crainea&quot; &lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@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 bgcolor="#FFFFFF" text="#000000">
    <div><tt>Hi, Wesley!<br>
        <br>
        Have you tried tracing the communication opensips has with
        rtpproxy (listen with ngrep on port 7890). Are you sure rtpproxy
        is bound on the correct IP and port (check with netstat -ulpn |
        grep rtpproxy). Have you tried enabling rtpproxy debugging to
        see if something reaches the server (start rtpproxy with -d
        DBUG).<br>
        <br>
        Regards,<br>
      </tt>
      <pre cols="72">Razvan Crainea
OpenSIPS Core Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre>
      On 11/30/2012 08:06 PM, Wesley Volcov wrote:<br>
    </div>
    <blockquote type="cite">Dear all,
      <div><br>
      </div>
      <div>I&#39;ve tried to downgrade the opensips version, and use the
        nathelper module, but I still see the error.</div>
      <div><br>
      </div>
      <div>RTPPROXY run command: /usr/local/bin/rtpproxy -l public_ip -s
        udp:<a href="tel:127.0.0.1%207890" value="+551270017890" target="_blank">127.0.0.1 7890</a> -F -m 10000 -M 20000<br>
        <br>
        <div>Opensips configuration: modparam(&quot;nathelper&quot;,
          &quot;rtpproxy_sock&quot;, &quot;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&quot;)</div>
        <div><br>
        </div>
        <div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10695]:
            ERROR:nathelper:send_rtpp_command: can&#39;t send command to a
            RTP proxy</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10699]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10707]:
            ERROR:nathelper:send_rtpp_command: can&#39;t send command to a
            RTP proxy</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10679]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10682]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10678]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10684]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10686]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10687]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10690]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
          <div>Nov 30 17:05:25 localhost
            /usr/local/sbin/opensips[10691]:
            ERROR:nathelper:send_rtpp_command: proxy &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
            does not respond, disable it</div>
        </div>
        <div><br>
        </div>
        <div>Am I missing some thing?</div>
        <div><br>
        </div>
        <div>Please, helpe me.</div>
        <div><br>
        </div>
        <div>Regards,</div>
        <div><br>
        </div>
        <div>Wesley Volcov</div>
        <div><br>
        </div>
        <div class="gmail_quote">On 29 November 2012 08:28, Wesley
          Volcov <span dir="ltr">&lt;<a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear <span style="color:rgb(34,34,34);font-size:13px;white-space:nowrap;font-family:arial,sans-serif;font-weight:bold">Răzvan,</span>
            <div>
              <font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><b><br>
                  </b></span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">Thanks you for helping me!</span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>
                </span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">I changed the modparam
                  to: modparam(&quot;rtpproxy&quot;, &quot;rtpproxy_sock&quot;, &quot;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&quot;)</span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>
                </span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">And the rtpproxy run
                  command: /usr/local/bin/rtpproxy -lpublic_ip -s udp:<a href="tel:127.0.0.1%207890" value="+551270017890" target="_blank">127.0.0.1 7890</a>
                  -F -m 10000 -M 20000</span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>
                </span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">And I still see this:</span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap"><br>
                </span></font></div>
            <div><font color="#222222" face="arial, sans-serif"><span style="white-space:nowrap">
                  <div>Nov 29 08:25:42 opensips
                    /usr/local/sbin/opensips[5996]:
                    WARNING:rtpproxy:rtpp_test: support for RTP proxy
                    &lt;udp:<a href="http://127.0.0.1:7890" target="_blank">127.0.0.1:7890</a>&gt;
                    has been disabled temporarily</div>
                  <div>Nov 29 08:25:42 opensips
                    /usr/local/sbin/opensips[5994]:
                    WARNING:rtpproxy:rtpp_test: can&#39;t get version of the
                    RTP proxy</div>
                  <div><br>
                  </div>
                  <div>Any idea?</div>
                  <div><br>
                  </div>
                  <div>Regards,</div>
                  <div><br>
                  </div>
                  <div>
                    Wesley Volcov</div>
                </span></font>
              <div>
                <div><br>
                  <div class="gmail_quote">On 28 November 2012 16:02,
                    Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@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 bgcolor="#FFFFFF" text="#000000">
                        <div><tt>Hi, Wesley!<br>
                            <br>
                            The idea is that RTPProxy is listening only
                            on localhost, whereas OpenSIPS tries to
                            connect to a different IP (rather than
                            127.0.0.1). You should either allow RTPProxy
                            to listen on that IP (change the -s
                            parameter, but this is not recommended
                            because of security issues) or configure
                            OpenSIPS to connect using 127.0.0.1.<br>
                            Are you using the DB to provision the
                            RTPProxy sockets? Because if you do, there
                            is no need of the &quot;rtpproxy_sock&quot; modparam,
                            you should change the IP directly in the
                            database.<br>
                            <br>
                            Regards,<br>
                          </tt>
                          <div>
                            <pre cols="72">Razvan Crainea
OpenSIPS Core Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre>
                          </div>
                          <div>
                            <div> On 11/28/2012 05:53 PM, Wesley Volcov
                              wrote:<br>
                            </div>
                          </div>
                        </div>
                        <div>
                          <div>
                            <blockquote type="cite">Dear <span style="color:rgb(34,34,34);font-size:13px;white-space:nowrap;font-family:arial,sans-serif;font-weight:bold">Răzvan,</span>
                              <div><font color="#222222" face="arial,
                                  sans-serif"><span style="white-space:nowrap"><b><br>
                                    </b></span></font></div>
                              <div><font color="#222222" face="arial,
                                  sans-serif"><span style="white-space:nowrap">I tried
                                    to change the modparam
                                    configuration, to the ip_addres, and
                                    also the rtpproxy listen addres to
                                    localhost, and it still the same
                                    problem.</span></font></div>
                              <div><font color="#222222" face="arial,
                                  sans-serif"><span style="white-space:nowrap"><br>
                                  </span></font></div>
                              <div><font color="#222222" face="arial,
                                  sans-serif"><span style="white-space:nowrap">Regards,</span></font></div>
                              <div><font color="#222222" face="arial,
                                  sans-serif"><span style="white-space:nowrap"><br>
                                  </span></font></div>
                              <div><font color="#222222" face="arial,
                                  sans-serif"><span style="white-space:nowrap">Wesley
                                    Volcov<br>
                                  </span></font><br>
                                <div class="gmail_quote">On 28 November
                                  2012 12:31, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@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 bgcolor="#FFFFFF" text="#000000">
                                      <div><tt>Hi, Wesley!<br>
                                          <br>
                                          I see that your modparam
                                          contains the &quot;localhost&quot; ip,
                                          however, the OpenSIPS warning
                                          contains the &quot;ip_address&quot;. Is
                                          this &quot;ip_address&quot; &quot;127.0.0.1&quot;?
                                          Because if it is not, then it
                                          means that the rtpproxy_sock
                                          is set to a different value -
                                          either by overwriting the
                                          parameter, or by using the DB
                                          provisioning mode. Most likely
                                          it doesn&#39;t work because
                                          OpenSIPS is trying to connect
                                          to rtpproxy on a public IP,
                                          whereas RTPProxy only listens
                                          on localhost.<br>
                                          <br>
                                          Regards,<br>
                                        </tt>
                                        <pre cols="72">Razvan Crainea
OpenSIPS Core Developer
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre>
                                        <div>
                                          <div> On 11/28/2012 02:25 PM,
                                            Wesley Volcov wrote:<br>
                                          </div>
                                        </div>
                                      </div>
                                      <blockquote type="cite">
                                        <div>
                                          <div>Dear all,
                                            <div><br>
                                            </div>
                                            <div>I&#39;m having problems
                                              with my Opensips + RTP
                                              Proxy instalation.</div>
                                            <div><br>
                                            </div>
                                            <div>Opensips
                                              version: 1.7.2-notls</div>
                                            <div>RTP Proxy
                                              version: 1.2.1</div>
                                            <div><br>
                                            </div>
                                            <div>Start RTP Proxy
                                              command: /usr/local/bin/rtpproxy
                                              -l ip_address -s udp:<a href="tel:127.0.0.1%207890" value="+551270017890" target="_blank">127.0.0.1

                                                7890</a> -F -m 10000 -M
                                              20000</div>
                                            <div><br>
                                            </div>
                                            <div>Opensips configuration
                                              for RTP Proxy: <span style="background-color:rgb(254,254,238)">modparam(&quot;rtpproxy&quot;,


                                                &quot;rtpproxy_sock&quot;,
                                                &quot;udp:localhost:7890&quot;)</span></div>
                                            <div><br>
                                            </div>
                                            <div>When I start the
                                              Opensips service, it logs
                                              this message:</div>
                                            <div><br>
                                            </div>
                                            <div>
                                              <div>Nov 28 10:56:10
                                                opensips
                                                /usr/local/sbin/opensips[2687]:
                                                WARNING:rtpproxy:rtpp_test:
                                                can&#39;t get version of the
                                                RTP proxy</div>
                                              <div>Nov 28 10:56:10
                                                opensips
                                                /usr/local/sbin/opensips[2687]:
                                                WARNING:rtpproxy:rtpp_test:
                                                support for RTP proxy
                                                &lt;udp:ip_address:7890&gt;
                                                has been disabled
                                                temporarily</div>
                                              <div><br>
                                              </div>
                                              <div>What could it be?
                                                Please, help me!</div>
                                              <div><br>
                                              </div>
                                              <div>Regards</div>
                                              -- <br>
                                              Wesley Volcov<br>
                                              Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>
                                              Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>
                                              Skype: wesley.volcov<br>
                                              Mobile: <a href="tel:%2B55%2011%207999-7444" value="+551179997444" target="_blank">+55 11
                                                7999-7444</a><br>
                                              Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
                                            </div>
                                            <br>
                                            <fieldset></fieldset>
                                            <br>
                                          </div>
                                        </div>
                                        <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>
                                    <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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                                <br>
                                <br clear="all">
                                <div><br>
                                </div>
                                -- <br>
                                Wesley Volcov<br>
                                Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>
                                Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>
                                Skype: wesley.volcov<br>
                                Mobile: <a href="tel:%2B55%2011%207999-7444" value="+551179997444" target="_blank">+55
                                  11 7999-7444</a><br>
                                Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
                              </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>
                      <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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                  Wesley Volcov<br>
                  Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>
                  Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>
                  Skype: wesley.volcov<br>
                  Mobile: <a href="tel:%2B55%2011%207999-7444" value="+551179997444" target="_blank">+55 11
                    7999-7444</a><br>
                  Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Wesley Volcov<br>
        Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>
        Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>
        Skype: wesley.volcov<br>
        Mobile: <a href="tel:%2B55%2011%207999-7444" value="+551179997444" target="_blank">+55 11 7999-7444</a><br>
        Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
      </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>

<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>
</div></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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>


Skype: wesley.volcov<br>Mobile: <a href="tel:%2B55%2011%207999-7444" value="+551179997444" target="_blank">+55 11 7999-7444</a><br>Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>


</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Wesley Volcov<br>Email: <a href="mailto:wesleyvolcov@gmail.com" target="_blank">wesleyvolcov@gmail.com</a><br>Messenger: <a href="mailto:volcov@live.com" target="_blank">volcov@live.com</a><br>

Skype: wesley.volcov<br>Mobile: +55 11 7999-7444<br>Website: <a href="http://volcov.blogspot.com" target="_blank">http://volcov.blogspot.com</a><br>
</div>