<!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">
    Hi Pavel, <br>
    <br>
    Just pushing this to the right guys <br>
    <br>
    Regards,<br>
    Bogdan<br>
    <br>
    On 12/13/2011 11:10 AM, Pavel Zalunin wrote:
    <blockquote
cite="mid:CAH6sOugvfcbqSGY06Zy9GehQBW8Wg_5pEOXMZp-3Y08Ldi-+mg@mail.gmail.com"
      type="cite">Hi.
      <div><br>
      </div>
      <div>I'm running media-relay on amazon ec2, and it has private ip
        address that mapped to public one. Hence media relay returns
        private ip instead of public ip address. I did little patch. You
        can specify advertised_address parameter in config.ini, to
        return this address instead of address, that used to listen.
        I've noticed, that I'm not alone who stucked with this problem.
        May be possible to include this patch, or same functionality
        done in another way into upstream? In any way, may be this patch
        can be useful to another guys who have same pb:)</div>
      <div>Please review attached patch (for version 2.5.2).&nbsp;</div>
      <div><br>
      </div>
      <div>Pavel.</div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
OpenSIPS solutions and "know-how"</pre>
  </body>
</html>