<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,<br>
        <br>
        Nick, you want something like an "advertised" but for the STUN
        stuff ?<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 14:25, Nick Altmann wrote:<br>
    </div>
    <blockquote
cite="mid:CAJOe1EP4DfiuKFVE6LhxGB3EgvG5WaZwGsJ1fjrTRMByxC75hQ@mail.gmail.com"
      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.&nbsp;</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 class="h5">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 class="h5">
                              <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&nbsp;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">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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>