<p><br>
Il giorno 13/lug/2012 14:00, &quot;Nikolay G. Petrov&quot; &lt;<a href="mailto:raba@mail.bg">raba@mail.bg</a>&gt; ha scritto:<br>
&gt;<br>
&gt; 13.07.2012 15:01, Leandro Dardini пишет:<br>
&gt;&gt;<br>
&gt;&gt; 2012/7/13 Nikolay G. Petrov &lt;<a href="mailto:raba@dir.bg">raba@dir.bg</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Hi guys!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have a some non standard problem when I register my asterisk into &quot;My SIP Provider&quot; .<br>
&gt;&gt;&gt; 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>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; From &quot;My SIP Provider&quot; cabinet I see: <br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; online device<br>
&gt;&gt;&gt;&gt; <a href="http://355@192.168.1.2:5060">355@192.168.1.2:5060</a> Asterisk PBX 1.8.13.0<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; , but I need from (example):<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; online device<br>
&gt;&gt;&gt;&gt; <a href="http://355@55.55.55.55:5060">355@55.55.55.55:5060</a> Asterisk PBX 1.8.13.0<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; From wich trukes in linux or asterisk technology I need?<br>
&gt;&gt;&gt; Can you help?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; -- <br>
&gt;&gt;&gt; Best regards,<br>
&gt;&gt;&gt; Nikolay G. Petrov!<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; _____________________________________________________________________<br>
&gt;&gt;&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
&gt;&gt;&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;&gt;&gt;                <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; asterisk-users mailing list<br>
&gt;&gt;&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;&gt;&gt;    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Sure,<br>
&gt;&gt; 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.<br>

&gt;&gt;<br>
&gt;&gt; externip=55.55.55.55<br>
&gt;&gt; localnet=<a href="http://192.168.1.0/24">192.168.1.0/24</a><br>
&gt;&gt;<br>
&gt;&gt; Leandro<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; _____________________________________________________________________<br>
&gt;&gt; -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>
&gt;&gt; New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
&gt;&gt;                <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</a><br>
&gt;&gt;<br>
&gt;&gt; asterisk-users mailing list<br>
&gt;&gt; To UNSUBSCRIBE or update options visit:<br>
&gt;&gt;    <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
&gt;<br>
&gt;<br>
&gt;&gt; externip=55.55.55.55<br>
&gt;&gt; localnet=<a href="http://192.168.1.0/24">192.168.1.0/24</a><br>
&gt;<br>
&gt;<br>
&gt; Cool! It&#39;s work!<br>
&gt; Respect! The trouble is resolve!<br>
&gt;<br>
&gt; -- <br>
&gt; Best regards!<br>
&gt;<br>
&gt;<br>
&gt; --</p>
<p>Medal medal medal! :-)</p>
<p><a href="http://www.youtube.com/watch?v=8qkSe4YM7EY&amp;feature=youtube_gdata_player">http://www.youtube.com/watch?v=8qkSe4YM7EY&amp;feature=youtube_gdata_player</a></p>