<div dir="ltr">Its just the channel name so don&#39;t get tripped up by that, its just named with some default data about the session.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 24, 2016 at 11:33 PM, Brian Chow <span dir="ltr">&lt;<a href="mailto:freeswitch@digitaldescent.net" target="_blank">freeswitch@digitaldescent.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Debug console output: <a href="https://pastebin.freeswitch.org/24572" target="_blank">https://pastebin.freeswitch.org/24572</a><div><br></div><div>My fqdn only resolves inside the network, but the external-ip is configured in FS to use stun, which reports my external ip.</div><div><br></div><div><span class=""><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">&gt;Is your endpoint registered? How often is it set to reregister?<u></u><u></u></span></p></span><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">Yes, and the zoiper default registration expiry is 3600</span></p><span class=""><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif"> </span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">&gt;Does your router have a sip alg? Are the ports opened in your firewall?</span></p></span><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">&gt; ish, no GUI for it, but I did make sure to disable it from the command line (Ubiquiti Edgerouter).  No firewall ports are explicitly open, but allow bi-directional with existing states.  I do get 2 way audio when calling out, and I also can hear the system forwarding my call in to voicemail; the voicemail message and prompts.  I know asterisk is different from FS, but my asterisk experience has proven that at least with asterisk, port forwarding isn&#39;t needed.  Also, unfortunately, I cannot get a static ip.</span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif"><br></span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">Thanks!</span></p><p class="MsoNormal" style="margin:0in 0in 0.0001pt;font-size:12pt;font-family:&#39;Times New Roman&#39;,serif"><span style="font-size:11pt;font-family:Calibri,sans-serif">  -Brian</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, Feb 24, 2016 at 8:31 PM, Moishe Grunstein <span dir="ltr">&lt;<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">It is probably sending call to your extension@domainname, if your external ip is your domain name then you will see the external ip.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Is your endpoint registered? How often is it set to reregister?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Does your router have a sip alg? Are the ports opened in your firewall?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">Very hard to guess without a log of a call with debug enabled.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">sofia global sip trace on<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Moishe Grunstein<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399">Tornado Computer Systems, Inc.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#333399"><a href="tel:212.400.7650" value="+12124007650" target="_blank">212.400.7650</a> <a href="http://888.IPPBX.US" target="_blank">888.IPPBX.US</a><br>
</span><b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,sans-serif;color:#76923c">Service Request Email:
<a href="mailto:support@nysolutions.com" target="_blank">support@nysolutions.com</a> </span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#333399"><u></u><u></u></span></p>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,sans-serif;color:#1f497d;text-decoration:none"><img border="0" width="147" height="68" style="width:1.5312in;min-height:.7083in" src="cid:image001.jpg@01D16F5A.F398EB40" alt="cid:image001.jpg@01C72F94.9EE45D60"></span></a><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#c0504d">Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions
 * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Brian Chow<br>
<b>Sent:</b> Wednesday, February 24, 2016 10:00 PM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> [Freeswitch-users] Inbound calls mis-routing routing to internal extension with external IP?<u></u><u></u></span></p><div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Hello all!<u></u><u></u></p>
<div>
<p class="MsoNormal">  I&#39;m new to freeswitch, so I&#39;m sure this is just a newbie configuration error.  Sorry if it&#39;s been answered a million times, my google searches always just bring up the standard NAT configuration pages.  I&#39;ve already followed the confluence
 page on configuring NAT.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">My Setup:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Freeswitch 1.6 and FusionPBX installed on a virtualized debian 8.3 instance.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">SIP Provider: Flowroute<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">NAT: extension and freeswitch are on the same network, both of which are behind NAT and connecting to flowroute.  I configured external sip and rtp to use stun entries.  External profile is using $${external_rtp/sip_ip} for ext-rtp/sip
 respectively.  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I have one DID configured to go directly to my one extension.  My extension can register just fine.  My extension can dial out.  When I call my cell, the call connects and I have 2 way audio.  When I dial my DID from my cell, I can see
 the call hitting the FS server, but instead of ringing my extension, it goes straight to my extensions voicemail (which I can just fine).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">When I look the at the console, it appears (sorry if this is wrong, I&#39;m only a day into free switch) that FS is attempting to route the call to my extension...@ my external ip?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I see this line in the console:  2016-02-24 18:56:10.453983 [NOTICE] switch_channel.c:1101 New Channel sofia/internal/&lt;extension&gt;@<b>&lt;externalip&gt;</b>:46072<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Shouldn&#39;t that read sofia/internal/&lt;extentsion&gt;@&lt;ip_of_extension&gt;  ?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Sofia Status says:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">                     Name        Type                                      Data  State<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">=================================================================================================<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">            external-ipv6   profile                   <a>sip:mod_sofia@[::1]:5080</a>            RUNNING (0)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">                 external      profile           <a>sip:mod_sofia@&lt;external_ip&gt;:5080</a>     RUNNING (0)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">external::&lt;uuid&gt;          gateway                      sip:&lt;flowrouteid&gt;@<a href="http://sip.flowroute.com" target="_blank">sip.flowroute.com</a>          REGED<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">            internal-ipv6    profile                   <a>sip:mod_sofia@[::1]:5060</a>            RUNNING (0)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">                 internal       profile            <a>
sip:mod_sofia@&lt;internal_ip&gt;:5060</a>    RUNNING (0)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">=================================================================================================<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">If I&#39;m completely off base here, can anyone recommend where I can start looking to change/troubleshoot the issue?  I feel like it&#39;s just me missing something, I just can&#39;t determine what that might be.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  -Brian<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">







<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font size="2" face="monospace, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p><p><font face="monospace, monospace">Got Bugs? Report them <a href="https://freeswitch.org/jira" target="_blank">here</a>! | Reddit: <a href="https://www.reddit.com/r/freeswitch" target="_blank">/r/freeswitch</a></font></p>
<p><font size="2" face="monospace, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div></div></div></div></div></div></div></div></div>
</div>