<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Craig,<br>
        <br>
        Please keep the list to CC.<br>
        <br>
        Unfortunately I cannot help with mediaproxy as I never used it
        :(....But for sure you can find other people on the list to do
        that.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 23.05.2014 12:31, Craig Guy wrote:<br>
    </div>
    <blockquote
cite="mid:CAFyzfOedX5L7WF4NxmpFc0hgsJyRWHOK7ZbdH3PB=4+mOyFSWg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Ok,
        <div><br>
        </div>
        <div>I've gone back now to nathelper and the maddr is good. My
          mediaproxy issue is that the opensips mediaproxy module is
          forwarding private IP addresses to the mediaproxy dispatcher
          which is breaking the audio. I've called fix_nated_sdp prior
          to engage_mediaproxy to fix the o= and c= attributes but for
          some reason mediaproxy is stubbornly using the private IP
          rather than the received IP. The t_relay invite has the
          corrected sdp attributes but I don't know where and when
          mediaproxy is looking for the media IP address.</div>
        <div><br>
        </div>
        <div>I'll post logs and debug on Monday if I fail to work it out
          over the weekend.</div>
        <div><br>
        </div>
        <div>Craig</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On 23 May 2014 16:53, Bogdan-Andrei
          Iancu <span dir="ltr">&lt;<a moz-do-not-send="true"
              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 bgcolor="#FFFFFF" text="#000000">
              <div><tt>Hello Craig,<br>
                  <br>
                  As said, this is just side comment, not a try to cover
                  the problem - IMHO you are right (in regards to maddr
                  handling in nat_traversal) and that should be fixed.<br>
                  <br>
                  Regards,<br>
                </tt>
                <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                On 23.05.2014 04:38, Craig Guy wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">Thanks Bogdan,
                  <div><br>
                  </div>
                  <div>I'd seen in an older mailing list message that
                    nat_traversal went with mediaproxy and nathelper
                    went with rtpproxy. I'll switch back to nathelper
                    and troubleshooting my mediaproxy nat issue.</div>
                  <div><br>
                  </div>
                  <div>Craig</div>
                </div>
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On 23 May 2014 00:25,
                    Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        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 bgcolor="#FFFFFF" text="#000000">
                        <div><tt>Hello Craig,<br>
                            <br>
                            Not trying to deviate from the actual bug,
                            but forĀ  both cases (rtpproxy and
                            mediaproxy) the signaling modules are
                            completely different from the modules
                            talking to the external media relays.<br>
                            So, you can use the mediaproxy relay (via
                            the mediaproxy module) in combination with
                            the nathelper module for the contact fixing.<br>
                            <br>
                            Regards,<br>
                          </tt>
                          <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                          On 22.05.2014 12:44, Craig Guy wrote:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">Hi,
                            <div><br>
                            </div>
                            <div>I was using nathelper with
                              fix_nated_contact and have changed over to
                              using nat_traversal and fix_contact as I
                              am having some other issues with
                              mediaproxy but found that calls are
                              failing with the apparent difference being
                              that nathelper removes maddr from the
                              initial INVITE Contact whilst
                              nat_traversal leaves it intact.</div>
                            <div><br>
                            </div>
                            <div>This is causing opensips to route the
                              received PRACK to the maddr private IP in
                              the contact header and the call to fail.</div>
                            <div><br>
                            </div>
                            <div>Is this correct operation for the
                              nat_traversal module and is there another
                              way to remove the maddr from the contact?</div>
                            <div><br>
                            </div>
                            <div>This is with opensips 1.10</div>
                            <div><br>
                            </div>
                            <div>Craig</div>
                          </div>
                          <br>
                          <fieldset></fieldset>
                          <br>
                          <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>