<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#333333">
    <div class="moz-cite-prefix">13.07.2012 15:01, Leandro Dardini
      &#1087;&#1080;&#1096;&#1077;&#1090;:<br>
    </div>
    <blockquote
cite="mid:CAOoW2hacPAdp69Tf1n_1mzGMBqNT0Rz70LOCYbWf7ZHLgrErfA@mail.gmail.com"
      type="cite">
      <div class="gmail_quote">2012/7/13 Nikolay G. Petrov <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:raba@dir.bg" target="_blank">raba@dir.bg</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div bgcolor="#FFFFFF" text="#333333"> Hi guys!<br>
            <br>
            I have a some non standard problem when I register my
            asterisk into "My SIP Provider" .<br>
            The trouble is: my asterisk stay behind router with port
            forwarding, who have Public IP (55.55.55.55 - for example),
            asterisk have a private IP (192.168.1.2) <br>
            <br>
            <br>
            <font color="#ff6666">From "My SIP Provider" cabinet I see:
            </font><br>
            <blockquote type="cite">online device<br>
              <a moz-do-not-send="true"
                href="mailto:355@192.168.1.2:5060" target="_blank">355@192.168.1.2:5060</a>
              Asterisk PBX 1.8.13.0</blockquote>
            <font color="#33cc00">, but I need from (example):</font><br>
            <blockquote type="cite">online device<br>
              <a moz-do-not-send="true"
                href="mailto:355@55.55.55.55:5060" target="_blank">355@55.55.55.55:5060</a>
              Asterisk PBX 1.8.13.0</blockquote>
            <br>
            From wich trukes in linux or asterisk technology I need?<br>
            Can you help?<span class="HOEnZb"><font color="#888888"><br>
                <br>
                <br>
                <br>
                <pre cols="72">-- 
Best regards,
Nikolay G. Petrov!</pre>
              </font></span></div>
          <br>
          --<br>
_____________________________________________________________________<br>
          -- Bandwidth and Colocation Provided by <a
            moz-do-not-send="true" href="http://www.api-digital.com"
            target="_blank">http://www.api-digital.com</a> --<br>
          New to Asterisk? Join us for a live introductory webinar every
          Thurs:<br>
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a moz-do-not-send="true"
            href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
          <br>
          asterisk-users mailing list<br>
          To UNSUBSCRIBE or update options visit:<br>
          &nbsp; &nbsp;<a moz-do-not-send="true"
            href="http://lists.digium.com/mailman/listinfo/asterisk-users"
            target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
        </blockquote>
      </div>
      <br>
      <div>Sure,</div>
      <div>the problem is asterisk cannot know its public IP address and
        thus, the IP inserted in the SIP packets is the private one. You
        have to specify the internal network and the public IP address
        in the sip.conf configuration file.</div>
      <div><br>
      </div>
      <div>
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        externip=55.55.55.55</div>
      <div>localnet=<a moz-do-not-send="true"
          href="http://192.168.1.0/24">192.168.1.0/24</a></div>
      <div><br>
      </div>
      <div>Leandro</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by <a class="moz-txt-link-freetext" href="http://www.api-digital.com">http://www.api-digital.com</a> --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               <a class="moz-txt-link-freetext" href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a>

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   <a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a></pre>
    </blockquote>
    <br>
    <blockquote type="cite">
      <div>externip=55.55.55.55</div>
      <div>localnet=<a moz-do-not-send="true"
          href="http://192.168.1.0/24">192.168.1.0/24</a></div>
    </blockquote>
    <br>
    Cool! It's work!<br>
    Respect! The trouble is resolve!<br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Best regards!</pre>
  </body>
</html>