<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Yeah,<br>
<br>
I tried that as well, I will try again and see. It seems like
everything else works.<br>
<br>
Just for some reason when I disconnect one leg of the call the BYE
messages don't seem to get routed properly.<br>
<br>
<br>
On 5/21/10 3:56 PM, Daniel Goepp wrote:
<blockquote
 cite="mid:AANLkTikbi3AOvrw30mNutMPSY3QUQnEfi6XsY8kaUdvk@mail.gmail.com"
 type="cite">I'm not sure what is happening for you there, but I see on
my outbound INVITE to the callee:<br>
  <br>
Via: SIP/2.0/UDP PUBLIC_IP;branch=z9hG4bKa03a.4c4a9294.0;i=e.<br>
Via: SIP/2.0/TCP
PRIVATE_IP:5065;rport=6545;received=PUBLIC_IP;branch=z9hG4bK66e33da44ca16500.<br
 clear="all">
  <br>
I'm also using record_route_preset, are you using this method also?<br>
  <br>
-dg<br>
  <br>
  <br>
  <div class="gmail_quote">On Fri, May 21, 2010 at 11:00 AM, David J. <span
 dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:david@styleflare.com">david@styleflare.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">Daniel,<br>
    <br>
I am calling fix_nated_register() on REGISTER and on INVITE
fix_nated_contact()<br>
    <br>
    <br>
On 5/21/10 1:46 PM, Daniel Goepp wrote:
    <blockquote type="cite">Ah yes, are you also doing NAT detection
and fixing
contact?<br clear="all">
      <br>
-dg<br>
      <br>
      <br>
      <div class="gmail_quote">On Fri, May 21, 2010 at 10:40 AM, David
J. <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:david@styleflare.com" target="_blank">david@styleflare.com</a>&gt;</span>
wrote:<br>
      <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
        <div bgcolor="#ffffff" text="#000000">Yes, I did that, but I am
not
seeing those changes in the Via Tag,
although I do see them as Appended if that is the correct behavior?<br>
        <br>
Via: SIP/2.0/UDP PRIVATE_IP:5061;branch=0;received=PUBLIC_IP.<br>
        <br>
        <br>
On 5/21/10 12:43 PM, Daniel Goepp wrote:
        <blockquote type="cite">Did you make the change recommended by
Bogdan?<br>
          <br>
--clip<br>
yes, you can set and advertised port and IP to be used (instead of the<br>
actual listening IP:port). See:<br>
&nbsp; &nbsp;advertise_address &nbsp;<a moz-do-not-send="true"
 href="http://www.opensips.org/Resources/DocsCoreFcn16#toc24"
 target="_blank">http://www.opensips.org/Resources/DocsCoreFcn16#toc24</a><br>
&nbsp; &nbsp;advertise_port &nbsp;<a moz-do-not-send="true"
 href="http://www.opensips.org/Resources/DocsCoreFcn16#toc25"
 target="_blank">http://www.opensips.org/Resources/DocsCoreFcn16#toc25</a><br
 clear="all">
--clip<br>
          <br>
I am not experiencing the same problem you are.<br>
          <br>
-dg<br>
          <br>
          <br>
          <div class="gmail_quote">On Fri, May 21, 2010 at 9:05 AM,
David
J. <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:david@styleflare.com" target="_blank">david@styleflare.com</a>&gt;</span>
wrote:<br>
          <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000">Daniel,<br>
            <br>
You said you got opensips/rtp-proxy working on EC2, when testing it, I
see the VIA headers have the EC2 internal ip and the BYE messages not
getting routed correctly, any advice on how to solve that?<br>
            <br>
Thanks
            <div>
            <div><br>
            <br>
            <br>
On 5/21/10 12:02 PM, Daniel Goepp wrote:
            <blockquote type="cite">You need to be careful though
because
you
will likely not
get media then.&nbsp; We could not find a way to get MediaProxy to work, but
we did patch rtpproxy to work.&nbsp; We just added a -A parameter which is
the publicly advertised address.&nbsp; See:<br>
              <br>
              <a moz-do-not-send="true"
 href="http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-behind-the-NAT-td5008041.html#none"
 target="_blank">http://opensips-open-sip-server.1449251.n2.nabble.com/Rtpproxy-behind-the-NAT-td5008041.html#none</a><br>
              <br>
-dg<br>
              <br>
              <br>
              <div class="gmail_quote">On Fri, May 21, 2010 at 1:34 AM,
Bogdan-Andrei Iancu <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>&gt;</span>
wrote:<br>
              <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi
Stefano,<br>
                <br>
yes, you can set and advertised port and IP to be used (instead of the<br>
actual listening IP:port). See:<br>
&nbsp; &nbsp;advertise_address &nbsp;<a moz-do-not-send="true"
 href="http://www.opensips.org/Resources/DocsCoreFcn16#toc24"
 target="_blank">http://www.opensips.org/Resources/DocsCoreFcn16#toc24</a><br>
&nbsp; &nbsp;advertise_port &nbsp;<a moz-do-not-send="true"
 href="http://www.opensips.org/Resources/DocsCoreFcn16#toc25"
 target="_blank">http://www.opensips.org/Resources/DocsCoreFcn16#toc25</a><br>
                <br>
Regards,<br>
Bogdan<br>
                <div>
                <div><br>
Stefano Pisani wrote:<br>
&gt; I need to put opensips 1.6.2 behind a firewall.<br>
&gt; In this case the server has an internal IP (192.168.x.x)<br>
&gt; There is a way to configure the extern (public) IP in opensis, in
this<br>
&gt; way all the headers of messagges will be correct.<br>
&gt;<br>
&gt; stefano<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a moz-do-not-send="true" href="mailto:Users@lists.opensips.org"
 target="_blank">Users@lists.opensips.org</a><br>
&gt; <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><br>
&gt;<br>
&gt;<br>
                <br>
                <br>
                </div>
                </div>
                <font color="#888888">--<br>
Bogdan-Andrei Iancu<br>
                <a moz-do-not-send="true"
 href="http://www.voice-system.ro" target="_blank">www.voice-system.ro</a><br>
                </font>
                <div>
                <div><br>
                <br>
_______________________________________________<br>
Users mailing list<br>
                <a moz-do-not-send="true"
 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
                <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><br>
                </div>
                </div>
              </blockquote>
              </div>
              <br>
              <pre><fieldset></fieldset>
_______________________________________________
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>
            </div>
            </div>
            <br>
_______________________________________________<br>
Users mailing list<br>
            <a moz-do-not-send="true"
 href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
            <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><br>
            <br>
          </blockquote>
          </div>
          <br>
          <pre><fieldset></fieldset>
_______________________________________________
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>
        <br>
_______________________________________________<br>
Users mailing list<br>
        <a moz-do-not-send="true" href="mailto:Users@lists.opensips.org"
 target="_blank">Users@lists.opensips.org</a><br>
        <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><br>
        <br>
      </blockquote>
      </div>
      <br>
      <pre><fieldset></fieldset>
_______________________________________________
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>
    <br>
_______________________________________________<br>
Users mailing list<br>
    <a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
    <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><br>
    <br>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
  </pre>
</blockquote>
<br>
</body>
</html>