<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        I identify the code that need to be changed - it should be a lot
        of work to add an "advertised" value for the configured IPs and
        ports. It should make it in the new release.<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 19.02.2014 17:45, Nick Altmann wrote:<br>
    </div>
    <blockquote
cite="mid:CAJOe1ENGiSYPRcJgriz_TjqidZU1Y5nXNfE9dKQwviwREoUWHg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Yes, it is!
        <div class="gmail_extra"><br clear="all">
          <div>--<br>
            Nick</div>
          <br>
          <br>
          <div class="gmail_quote">2014-02-19 17:19 GMT+04:00
            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>:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div text="#000000" bgcolor="#FFFFFF">
                <div><tt>Hi,<br>
                    <br>
                    Nick, you want something like an "advertised" but
                    for the STUN stuff ?<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>
                  <div>
                    <div class="h5"> On 19.02.2014 14:25, Nick Altmann
                      wrote:<br>
                    </div>
                  </div>
                </div>
                <div>
                  <div class="h5">
                    <blockquote type="cite">
                      <div dir="ltr">I'm about STUN only. Its required
                        two external IPs.
                        <div>I'm not about routing.<br>
                          <div class="gmail_extra"><br clear="all">
                            <div>--<br>
                              Nick</div>
                            <br>
                            <br>
                            <div class="gmail_quote">2014-02-19 16:14
                              GMT+04:00 Ali Pey <span dir="ltr">&lt;<a
                                  moz-do-not-send="true"
                                  href="mailto:alipey@gmail.com"
                                  target="_blank">alipey@gmail.com</a>&gt;</span>:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr">Hi Nick,
                                  <div><br>
                                  </div>
                                  <div>I don't think such a thing is
                                    possible in opensips. There can only
                                    be one advertised_address as far as
                                    I know. I think you need to do your
                                    own message manipulation in your
                                    route script based on the route it's
                                    going to.</div>
                                  <div><br>
                                  </div>
                                  <div>I'm interested in this scenario
                                    as well and look forward to more
                                    replies from more knowledgeable
                                    people. </div>
                                  <div><br>
                                  </div>
                                  <div>Please post updates when you find
                                    a solution.<br>
                                    <div class="gmail_extra"> <br>
                                    </div>
                                    <div class="gmail_extra"><br>
                                    </div>
                                    <div class="gmail_extra">Regards,</div>
                                    <div class="gmail_extra">Ali Pey</div>
                                    <div class="gmail_extra"><br>
                                      <br>
                                      <div class="gmail_quote">
                                        <div>
                                          <div>On Wed, Feb 19, 2014 at
                                            5:47 AM, Nick Altmann <span
                                              dir="ltr">&lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:nick.altmann@gmail.com"
                                                target="_blank">nick.altmann@gmail.com</a>&gt;</span>
                                            wrote:<br>
                                          </div>
                                        </div>
                                        <blockquote class="gmail_quote"
                                          style="margin:0 0 0
                                          .8ex;border-left:1px #ccc
                                          solid;padding-left:1ex">
                                          <div>
                                            <div>
                                              <div dir="ltr">Hi!
                                                <div><br>
                                                </div>
                                                <div>How to correctly
                                                  configure STUN module
                                                  if we have two
                                                  interfaces with
                                                  internal addresses
                                                  where NATed two
                                                  external IPs? (ports
                                                  are the same)</div>
                                                <div>I mean something
                                                  like advertised_address
                                                  option.</div>
                                                <div><br clear="all">
                                                  <div>--<br>
                                                    Nick</div>
                                                </div>
                                              </div>
                                              <br>
                                            </div>
                                          </div>
_______________________________________________<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>
                                    </div>
                                    <img moz-do-not-send="true"
src="https://contactmonkey.com/api/v1/tracker?cm_session=85523060-44ef-436e-aa6b-ee8ef5302bd0&amp;cm_type=open&amp;cm_user_email=alipey@gmail.com"
                                      height="1px" width="1px"></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>
                          </div>
                        </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>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>