Try something like this,<div><span class="Apple-style-span" style="font-family: Georgia, serif; line-height: 20px; font-size: medium; "><pre class="programlisting" style="overflow-x: auto; overflow-y: auto; color: rgb(51, 102, 153); ">
[general]
localnet=<a href="http://192.168.0.0/255.255.0.0">192.168.0.0/255.255.0.0</a> ; or your subnet
externip=x.x.x.x ; use your address
[YOURREMOTEPEER] ; your peer's name
nat=yes
qualify=yes ; Force keepalives</pre><pre class="programlisting" style="overflow-x: auto; overflow-y: auto; color: rgb(51, 102, 153); "><br></pre></span><div><br><div class="gmail_quote">On Thu, Feb 24, 2011 at 7:12 PM, Oleg Botvinkin <span dir="ltr"><<a href="mailto:olegbo@gmail.com">olegbo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div dir="ltr">Hi,all<br>I configured two Asterisk PBXs: 1.4.X and 1.6.X. All relevant ports are opened, externip is configured in sip.conf. I think, that all relevant configurations are checked. But, no voice hear between local and remote extension. What I need to check, configure in router and PBX for resolving this issue ?<br>
How I can to install and configure STUN server ?<br>Thanks,<br>Oleg<br clear="all">.<br>
</div>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a 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>
<a 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>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>Thank you with regards,<br>
Gopalakrishnan A.N.<div>VoIP call - <a href="mailto:sip%3Asaigop@gtalk2voip.com" target="_blank">sip:saigop@gtalk2voip.com</a><br><br></div><br>
</div></div>