<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2900.3354" name=GENERATOR></HEAD>
<BODY
style="WORD-WRAP: break-word; webkit-nbsp-mode: space; webkit-line-break: after-white-space">
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN
class=859531016-11072008>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN
class=859531016-11072008></SPAN></FONT> </DIV>
<DIV><FONT><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff
size=2>I am trying to register a phone in the following scenario: </FONT>
<P><FONT face=Tahoma color=#0000ff size=2>FS (192.168.0.4) -> NAT (Public IP
1.2.3.4) -> INTERNET -> NAT (Public IP 5.6.7.8) -> PHONE
(192.168.1.100) </FONT></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>I
followed the instructions from <A
href="http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios">http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios</A> and
have created the profile like:</FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2><!--
<A
href="http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files">http://wiki.freeswitch.org/wiki/Sofia_Configuration_Files</A>
--><BR><profile name="external"><BR> <!-- This profile is only
for outbound registrations to providers --><BR>
<gateways><BR> <X-PRE-PROCESS cmd="include"
data="external/*.xml"/><BR> </gateways></FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>
<aliases><BR> <alias name="outbound"/><BR>
</aliases></FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>
<domains><BR> <domain name="$${domain}"
parse="true"/><BR> </domains></FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>
<settings><BR> <param name="debug"
value="0"/><BR> <param name="force-register-domain"
value="$${domain}"/><BR> <param name="apply-nat-acl"
value="rfc1918"/><BR> <param name="sip-trace"
value="no"/><BR> <param name="rfc2833-pt"
value="101"/><BR> <param name="sip-port"
value="5090"/><BR> <param name="dialplan"
value="XML"/><BR> <param name="context"
value="public"/><BR> <param name="dtmf-duration"
value="100"/><BR> <param name="codec-prefs"
value="$${outbound_codec_prefs}"/><BR> <param
name="hold-music" value="$${hold_music}"/><BR> <param
name="use-rtp-timer" value="true"/><BR> <param
name="rtp-timer-name" value="soft"/><BR> <param
name="manage-presence" value="false"/><BR> <param
name="aggressive-nat-detection" value="true"/><BR>
<param name="inbound-codec-negotiation"
value="generous"/><BR> <param name="nonce-ttl"
value="60"/><BR> <param name="auth-calls"
value="false"/><BR> <param name="rtp-timeout-sec"
value="1800"/><BR> <param name="rtp-ip"
value="$${local_ip_v4}"/><BR> <param name="sip-ip"
value="$${local_ip_v4}"/><BR> <param name="ext-rtp-ip"
value="$${external_rtp_ip}"/><BR> <param
name="ext-sip-ip" value="$${external_sip_ip}"/><BR>
<param name="rtp-timeout-sec" value="300"/><BR>
<param name="rtp-hold-timeout-sec" value="1800"/><BR>
</settings><BR></profile><BR></FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>In the
phone I am using the {external IP} :5090. I went to the router
and forwarded the 5090 to the machine where FS is running.</FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>The
phone register and I can call internal extensions but I cannot place calls to
PSTN (Call Failed)</FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>The
profile is invalid.</FONT></SPAN></P>
<P><SPAN class=859531016-11072008> </SPAN><SPAN
class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2> sofia
status profile doublenat<BR>API CALL [sofia(status profile doublenat)]
output:<BR>Invalid Profile!<BR></P></FONT></SPAN>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>Does
anybody know what I am missing ?</FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff
size=2>thanks</FONT></SPAN></P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff size=2>Jair
Santos</P></FONT></SPAN>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </P>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff
size=2> </P></FONT></SPAN>
<P><SPAN class=859531016-11072008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </P>
<P><FONT face=Tahoma color=#0000ff size=2></FONT> </P></SPAN></FONT></DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN
class=859531016-11072008></SPAN></FONT> </DIV>
<DIV><FONT face=Tahoma color=#0000ff size=2><SPAN
class=859531016-11072008></SPAN></FONT> </DIV></BODY></HTML>