<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Eric,<br>
    <br>
    First of all, have you managed to get the SIP reply back ? I guess
    this was the original issue. If this works, we can move on to
    solving the RTP part too.<br>
    <br>
    Regards,<br>
    <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>
    <div class="moz-cite-prefix">On 02.11.2016 22:40, Eric Freeman
      wrote:<br>
    </div>
    <blockquote
cite="mid:DM3PR12MB07646BA819481B88703E838D87A00@DM3PR12MB0764.namprd12.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
        style="font-size:10pt;color:#000000;font-family:Verdana, Geneva,
        sans-serif;">
        <p>I am not clear of what I am doing. I did some googling.</p>
        <p><br>
        </p>
        <p>I added the if nat_uac line to the fix_nated line. It did not
          fix my issue.</p>
        <p>In the Invite Request Packet I see the Owner Address as the
          10 address next to the Owner Address section of the packet.
          The same for the Connection information.Does that mean I
          didn't set up the fix_nates_sdp correctly? Let me know if you
          want to see my entire opensips.cfg file. </p>
        <p><br>
        </p>
        <p>route[relay] {</p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span>#
          for INVITEs enable some additional helper routes</p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span>if
          (is_method("INVITE")) {</p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span>if(nat_uac_test("8"))
          {</p>
        <p>        xlog("We have incoming SDP, let's fix if it's behind
          NAT\n");</p>
        <p>        fix_nated_sdp("2");</p>
        <p>         }</p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span></p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span></p>
        <p><br>
        </p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span>t_on_branch("per_branch_ops");</p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span>t_on_reply("handle_nat");</p>
        <p><span class="Apple-tab-span" style="white-space:pre"></span>t_on_failure("missed_call");</p>
        <p><br>
        </p>
        <p>Thank you for all of your help,</p>
        <p><br>
        </p>
        <div id="Signature">
          <div name="divtagdefaultwrapper"
            style="font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:; margin:0">
            <div id="divtagdefaultwrapper" style="font-size:12pt;
              color:#000000; background-color:#FFFFFF;
              font-family:Calibri,Arial,Helvetica,sans-serif">
              <p>Eric Freeman</p>
              <p><span id="ms-rterangepaste-start"></span></p>
              <div style="color:rgb(34,34,34);
                font-family:arial,sans-serif; font-size:12.8px">
                Technical Director/NA for TBWA\Chiat\Day</div>
              <div style="color:rgb(34,34,34);
                font-family:arial,sans-serif; font-size:12.8px">
                <br>
              </div>
              <div style="color:rgb(34,34,34);
                font-family:arial,sans-serif; font-size:12.8px">
                <span style="font-size:13px">TBWA\Chiat\Day New York</span><br>
              </div>
              <div style="color:rgb(34,34,34);
                font-family:arial,sans-serif; font-size:12.8px">
                488 Madison Ave.<br>
                New York NY 10022<br>
                United States of America</div>
              <div style="color:rgb(34,34,34);
                font-family:arial,sans-serif; font-size:12.8px">
                Tel: <a moz-do-not-send="true" value="+12128041324"
                  tabindex="0" href="tel:%2B12128041324" target="_blank"
                  style="color:rgb(17,85,204)" id="LPNoLP">+12128041324</a></div>
              <span id="ms-rterangepaste-end"></span>
            </div>
          </div>
        </div>
      </div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
          color="#000000" face="Calibri, sans-serif"><b>From:</b>
          Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a><br>
          <b>Sent:</b> Tuesday, November 1, 2016 8:34:05 AM<br>
          <b>To:</b> Eric Freeman; <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
          <b>Subject:</b> Re: [OpenSIPS-Users] Routing in opensips</font>
        <div> </div>
      </div>
      <div><tt>Eric,<br>
          <br>
          You can simply change it with the fix_nated_sdp() function:<br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html#id294042">http://www.opensips.org/html/docs/modules/2.2.x/nathelper.html#id294042</a><br>
          <br>
          But you have to be careful that the IP:port you force in SDP
          is also valid from IP perspective - like any RTP traffic
          landing on that IP is actually getting to the right
          application.<br>
          <br>
          Regards,<br>
        </tt>
        <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
        <div class="moz-cite-prefix">On 01.11.2016 14:24, Eric Freeman
          wrote:<br>
        </div>
        <blockquote
cite="mid:DM3PR12MB07644CC6343BF5FDE2B9518387A10@DM3PR12MB0764.namprd12.prod.outlook.com"
          type="cite">
          <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
          <div id="divtagdefaultwrapper"
            style="font-size:10pt;color:#000000;font-family:Verdana,
            Geneva, sans-serif;">
            <p>Thank you. I will test with that IP. How do I change the
              SDP to my public IP address so I can get RTP information
              back?</p>
            <p><br>
            </p>
            <p>Thank you,</p>
            <p><br>
            </p>
            <div id="Signature">
              <div name="divtagdefaultwrapper"
                style="font-family:Calibri,Arial,Helvetica,sans-serif;
                font-size:; margin:0">
                <div id="divtagdefaultwrapper" style="font-size:12pt;
                  color:#000000; background-color:#FFFFFF;
                  font-family:Calibri,Arial,Helvetica,sans-serif">
                  <p>Eric Freeman</p>
                  <p><span id="ms-rterangepaste-start"></span></p>
                  <div style="color:rgb(34,34,34);
                    font-family:arial,sans-serif; font-size:12.8px">
                    Technical Director/NA for TBWA\Chiat\Day</div>
                  <div style="color:rgb(34,34,34);
                    font-family:arial,sans-serif; font-size:12.8px">
                    <br>
                  </div>
                  <div style="color:rgb(34,34,34);
                    font-family:arial,sans-serif; font-size:12.8px">
                    <span style="font-size:13px">TBWA\Chiat\Day New York</span><br>
                  </div>
                  <div style="color:rgb(34,34,34);
                    font-family:arial,sans-serif; font-size:12.8px">
                    488 Madison Ave.<br>
                    New York NY 10022<br>
                    United States of America</div>
                  <div style="color:rgb(34,34,34);
                    font-family:arial,sans-serif; font-size:12.8px">
                    Tel: <a moz-do-not-send="true" value="+12128041324"
                      tabindex="0" href="tel:%2B12128041324"
                      target="_blank" style="color:rgb(17,85,204)"
                      id="LPNoLP">+12128041324</a></div>
                  <span id="ms-rterangepaste-end"></span></div>
              </div>
            </div>
          </div>
          <hr style="display:inline-block;width:98%" tabindex="-1">
          <div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
              color="#000000" face="Calibri, sans-serif"><b>From:</b>
              Bogdan-Andrei Iancu
              <a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
                href="mailto:bogdan@opensips.org">&lt;bogdan@opensips.org&gt;</a><br>
              <b>Sent:</b> Tuesday, November 1, 2016 7:10:45 AM<br>
              <b>To:</b> Eric Freeman; <a moz-do-not-send="true"
                class="moz-txt-link-abbreviated"
                href="mailto:users@lists.opensips.org">
                users@lists.opensips.org</a><br>
              <b>Subject:</b> Re: [OpenSIPS-Users] Routing in opensips</font>
            <div> </div>
          </div>
          <div><tt>Hi Eric,<br>
              <br>
              The outgoing INVITE request looks ok - the RR and VIA
              headers carry the public IP of your OpenSIPS. You should
              get back some reply. Not sure how valid is that test
              server, but you can try sending to sip:opensips.org:5060 (
              or 78.46.64.50:5060 ) - this sip server is definitely up .<br>
              <br>
              BTW, the SDP you send out is bogus as it contain only
              private IPs, so the other end point will not be able to
              send you ant RTP back.<br>
              <br>
              Regards,<br>
            </tt>
            <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
            <div class="moz-cite-prefix">On 31.10.2016 14:21, Eric
              Freeman wrote:<br>
            </div>
            <blockquote
cite="mid:DM3PR12MB07642F90D04675E9CFB0CD8787AE0@DM3PR12MB0764.namprd12.prod.outlook.com"
              type="cite">
              <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
              <div id="divtagdefaultwrapper"
                style="font-size:10pt;color:#000000;font-family:Verdana,
                Geneva, sans-serif;">
                <p>Please attached pcap file. Is this what you need?</p>
                <p><br>
                </p>
                <div id="Signature">
                  <div name="divtagdefaultwrapper"
                    style="font-family:Calibri,Arial,Helvetica,sans-serif;
                    font-size:; margin:0">
                    <div id="divtagdefaultwrapper"
                      style="font-size:12pt; color:#000000;
                      background-color:#FFFFFF;
                      font-family:Calibri,Arial,Helvetica,sans-serif">
                      <p>Eric Freeman</p>
                      <p><span id="ms-rterangepaste-start"></span></p>
                      <div style="color:rgb(34,34,34);
                        font-family:arial,sans-serif; font-size:12.8px">
                        Technical Director/NA for TBWA\Chiat\Day</div>
                      <div style="color:rgb(34,34,34);
                        font-family:arial,sans-serif; font-size:12.8px">
                        <br>
                      </div>
                      <div style="color:rgb(34,34,34);
                        font-family:arial,sans-serif; font-size:12.8px">
                        <span style="font-size:13px">TBWA\Chiat\Day New
                          York</span><br>
                      </div>
                      <div style="color:rgb(34,34,34);
                        font-family:arial,sans-serif; font-size:12.8px">
                        488 Madison Ave.<br>
                        New York NY 10022<br>
                        United States of America</div>
                      <div style="color:rgb(34,34,34);
                        font-family:arial,sans-serif; font-size:12.8px">
                        Tel: <a moz-do-not-send="true"
                          value="+12128041324" tabindex="0"
                          href="tel:%2B12128041324" target="_blank"
                          style="color:rgb(17,85,204)" id="LPNoLP">+12128041324</a></div>
                      <span id="ms-rterangepaste-end"></span></div>
                  </div>
                </div>
              </div>
              <hr style="display:inline-block;width:98%" tabindex="-1">
              <div id="divRplyFwdMsg" dir="ltr"><font
                  style="font-size:11pt" color="#000000" face="Calibri,
                  sans-serif"><b>From:</b> Bogdan-Andrei Iancu
                  <a moz-do-not-send="true"
                    class="moz-txt-link-rfc2396E"
                    href="mailto:bogdan@opensips.org">
                    &lt;bogdan@opensips.org&gt;</a><br>
                  <b>Sent:</b> Monday, October 31, 2016 6:36:18 AM<br>
                  <b>To:</b> Eric Freeman; OpenSIPS users mailling list<br>
                  <b>Subject:</b> Re: [OpenSIPS-Users] Routing in
                  opensips</font>
                <div> </div>
              </div>
              <div><tt>Hi Eric,<br>
                  <br>
                  What I'm asking here is to post the full INVITE packet
                  from your opensips server to the external host - I
                  Want to to check the SIP headers and the SDP.<br>
                  <br>
                  Regards,<br>
                </tt>
                <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
                <div class="moz-cite-prefix">On 25.10.2016 16:38, Eric
                  Freeman wrote:<br>
                </div>
                <blockquote
cite="mid:BN4PR12MB0755C177FEF7B1A3E165198B87A80@BN4PR12MB0755.namprd12.prod.outlook.com"
                  type="cite">
                  <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
                  <div id="divtagdefaultwrapper"
                    style="font-size:10pt;color:#000000;font-family:Verdana,
                    Geneva, sans-serif;">
                    <p>The opensips server is 10.88.23.13 the video
                      conference server is <span style="font-size:
                        10pt;">10.89.71.12</span><span style="font-size:
                        10pt;">. The IP I am trying to connect to </span><span
                        style="font-size: 10pt;">199.48.152.152, </span><span
                        style="font-size: 10pt;">I believe is a valid
                        host. I found it on a test SIP site on the
                        Internet</span></p>
                    <p><br>
                    </p>
                    <br>
                  </div>
                </blockquote>
              </div>
            </blockquote>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>