<!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><SPAN class=125180118-11072008><FONT face=Tahoma color=#0000ff
size=2>Regarding my previous email, I have now the profile registered but still
cannot make PSTN calls from the Phone</FONT></SPAN></DIV>
<DIV><SPAN class=125180118-11072008><FONT face=Tahoma color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=125180118-11072008><FONT face=Tahoma color=#0000ff size=2>sofia
status profile doublenat<BR>API CALL [sofia(status profile doublenat)]
output:<BR>=================================================================================================<BR>Name
doublenat<BR>Domain Name
doublenat<BR>DBName
sofia_reg_doublenat<BR>Dialplan
XML<BR>RTP-IP
192.168.1.117<BR>Ext-RTP-IP
stun:stun.freeswitch.org<BR>SIP-IP
192.168.1.117<BR>Ext-SIP-IP
24.67.78.200<BR>URL
sip:mod_sofia@24.67.78.200:5090<BR>BIND-URL
sip:mod_sofia@24.67.78.200:5090;maddr=192.168.1.117<BR>HOLD-MUSIC
local_stream://moh<BR>CODECS
PCMU,PCMA,GSM<BR>TEL-EVENT
101<BR>CNG
13<BR>SESSION-TO
0<BR>MAX-DIALOG 0</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=125180118-11072008><FONT face=Tahoma color=#0000ff
size=2>Registrations:<BR>=================================================================================================<BR>Call-ID
MGQ0YmQyYmMxNmNmYTkyYzA4MTVjNTNjMDFkYjM4YzI.<BR>User
<A
href="mailto:1001@24.67.78.200">1001@24.67.78.200</A><BR>Contact
"FreeSwitch"
<sip:1001@192.168.1.1:23740;rinstance=5ea23586706cd62a>;nat<BR>Agent
X-Lite release 1100l stamp
47546<BR>Status
Registered(AUTO-NAT)(unknown) EXP(2008-07-11 12:44:22)</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=125180118-11072008><FONT face=Tahoma color=#0000ff
size=2>=================================================================================================<BR></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV class=Section1>
<DIV align=left><SPAN class=125180118-11072008><FONT face=Tahoma color=#0000ff
size=2>Jair Santos</FONT></SPAN></DIV>
<P class=MsoNormal> </P></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Jair Santos<BR><B>Sent:</B> Friday, July 11, 2008 9:25 AM<BR><B>To:</B>
freeswitch-users@lists.freeswitch.org<BR><B>Subject:</B> [Freeswitch-users]
Invalid profile<BR><BR></FONT></DIV>
<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 size=+0><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></BLOCKQUOTE></BODY></HTML>