<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">How are you sending calls from your dialplan to your provider?<div><br></div><div>/b</div><div><br><div><html>On Jul 11, 2008, at 1:02 PM, Jair Santos wrote:</html><br class="Apple-interchange-newline"><blockquote type="cite"> <div 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 <a href="sip:mod_sofia@24.67.78.200:5090">sip:mod_sofia@24.67.78.200:5090</a><br>BIND-URL <a href="sip:mod_sofia@24.67.78.200:5090;maddr=192.168.1.117">sip:mod_sofia@24.67.78.200:5090;maddr=192.168.1.117</a><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" <<a href="sip:1001@192.168.1.1:23740;rinstance=5ea23586706cd62a">sip:1001@192.168.1.1:23740;rinstance=5ea23586706cd62a</a>>;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><div> <br class="webkit-block-placeholder"></div></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 [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Jair Santos<br><b>Sent:</b> Friday, July 11, 2008 9:25 AM<br><b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><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></font></span></p><font face="Tahoma" color="#0000ff" size="2"></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</font></span></p><font face="Tahoma" color="#0000ff" size="2"></font><div><span class="859531016-11072008"><font face="Tahoma" color="#0000ff" size="2"></font></span> <br class="webkit-block-placeholder"></div><div><span class="859531016-11072008"><font face="Tahoma" color="#0000ff" size="2"></font></span> <br class="webkit-block-placeholder"></div><div><span class="859531016-11072008"><font face="Tahoma" color="#0000ff" size="2"> </font></span><br class="webkit-block-placeholder"></div><font face="Tahoma" color="#0000ff" size="2"></font><div><span class="859531016-11072008"><font face="Tahoma" color="#0000ff" size="2"></font></span> <br class="webkit-block-placeholder"></div><div><font face="Tahoma" color="#0000ff" size="2"></font> <br class="webkit-block-placeholder"></div></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></div> _______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="sip:brian@freeswitch.org">sip:brian@freeswitch.org</a></div><div><br></div></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>