<div dir="ltr"><div><div><div><div><div><div>Really really really appreciate that. Thank you so much.<br><br></div>Yep. I've been doing pretty much all of that for several weeks now and things are actually starting to gell now.<br><br></div>It looks like the issue may wind up being this consumer grade router that is forwarding external traffic to 5060. All it has are built-in rules without logging or option to create a custom rule.<br><br>I should have wiresharked this days ago but being new to all of this I thought I just didn't have the config's right. <br><br>But thanks to everyone's help, documentation, and this awesome book, it looks like the router is the last place this issue can be hiding out.<br><br></div>I'll set it to bridge and pass everything to a different device and wireshark the traffic too.<br><br></div>I'll get there. Many many thanks for taking the time to point out those things. Really appreciate it.<br><br></div>Best regards,<br><br></div>Nate<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 9, 2017 at 4:18 PM, jungle boogie <span dir="ltr"><<a href="mailto:jungleboogie0@gmail.com" target="_blank">jungleboogie0@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thus said Nate on Wed, 9 Aug 2017 13:53:56 +1200<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Many thanks for that JB, I had already reviewed those variables under SIP<br>
profiles, but it wasn't clear what to change.<br>
<br>
Both internal/external profiles are enabled (which seems appropriate).<br>
</blockquote>
<br></span>
yes, you want both enabled but re-read what Giovanni wrote, then compare your vars.xml to this one:<br>
<a href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/conf/vanilla/vars.xml" rel="noreferrer" target="_blank">https://freeswitch.org/stash/p<wbr>rojects/FS/repos/freeswitch/br<wbr>owse/conf/vanilla/vars.xml</a><br>
<br>
lines 422 & 428. Do they match? external calls go to the public profile, port 5080 by default.<span class=""><br>
<br>
2017-08-09 10:13:51.482817 [WARNING] sofia_reg.c:1792 SIP auth challenge<br>
(INVITE) on sofia profile 'internal' for [<a href="mailto:6468808998@newplymouth.poiema.org" target="_blank">6468808998@newplymouth.poiema<wbr>.org</a>]<br>
from ip 192.241.183.87<br>
<br></span>
That's a public IP.<br>
<br>
You'll want to read page 45 of the latest freeswitch book under the heading of Extensions, Contexts and Profiles.<br>
<br>
On the other hand, the calls that are incoming to a<br>
profiles with a public Internet address, that is the calls that are<br>
reaching us passing through<br>
the router from the outside of our internal LAN, those calls are<br>
directed to a context that<br>
only allows for the call to be connected to one of our coworkers' phone.<br>
This specific profile<br>
will have only the feature to allow for external incoming calls to reach<br>
an internal phone,<br>
without any possibility to originate PSTN calls. That is, strangers<br>
cannot use our paid<br>
gateway to reach the PSTN.<br>
So, different address:port couple, different profile, different context.<br>
It is actually so simple!<br>
<br>
Check out the diagram on freeswitch here:<br>
<a href="https://freeswitch.org/confluence/display/FREESWITCH/Default+Configuration" rel="noreferrer" target="_blank">https://freeswitch.org/conflue<wbr>nce/display/FREESWITCH/Default<wbr>+Configuration</a><span class=""><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I wouldn't think to swap ports or anything like that.<br>
<br>
Can anyone suggest anything else?<br>
<br>
Again, many apologies that I am so lacking of knowledge here. I really have<br>
been reading and researching for a long time.<br>
<br>
</blockquote>
<br></span>
It's not an easy concept to grasp at first, so read the book a few times, check out the confluence pages, read the mailings list.<br>
<br>
public inbound DIDs go here:<br>
/usr/local/freeswitch/conf/dia<wbr>lplan/public/<br>
<br>
outbound DIDs go here:<br>
/usr/local/freeswitch/conf/dia<wbr>lplan/default/<br>
<br>
external registrations (to ITSP) go here:<br>
/usr/local/freeswitch/conf/sip<wbr>_profiles/external/<br>
<br>
<br>
If you installed freeswitch from a package,the locations will vary (as pointed out in the book), so adjust accordingly.<span class="im HOEnZb"><br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Many thanks again to everyone.<br>
<br>
Nate<br>
<br>
</blockquote>
<br>
<br>
<br>
<br></span><span class="im HOEnZb">
______________________________<wbr>______________________________<wbr>_____________<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<wbr>.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.o<wbr>rg</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.freeswi<wbr>tch.org</a><br>
</span><div class="HOEnZb"><div class="h5"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/ma<wbr>ilman/listinfo/freeswitch-user<wbr>s</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.frees<wbr>witch.org/mailman/options/<wbr>freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>