<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1242177642;
mso-list-type:hybrid;
mso-list-template-ids:1741991244 1732517832 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-style-link:botelist;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:40.5pt;
text-indent:-.25in;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:"Times New Roman";
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:76.5pt;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:112.5pt;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:148.5pt;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:184.5pt;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:220.5pt;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:256.5pt;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:292.5pt;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:328.5pt;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>Well, it must be operating by F.M. here because I never enable UPNP and checking this UBNT EdgeRouter-X it shows zero packets handled by UPNP2.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I must’ve stumbled upon a working configuration by chance, since I’ve never fully understood the ACL system in FreeSWITCH. I’ll have to do some more experimentation.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks for clarifying.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Bote<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Brian West <brian@freeswitch.com> <br><b>Sent:</b> Friday, 20 August, 2021 15:49<br><b>To:</b> botelist@gmail.com<br><b>Cc:</b> FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org><br><b>Subject:</b> Re: [Freeswitch-users] nonat?<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>That only works if you have a NAT-PMP / UPNP router, for the ext-*-ip options, you can put your public IP in like "autonat:1.2.3.4" and set the local-network-acl and it will use that local-network-acl to determine when to use the external IP or internal IP.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>/b<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Fri, Aug 20, 2021 at 2:10 PM Bote Man <<a href="mailto:botelist@gmail.com">botelist@gmail.com</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p class=MsoNormal>My sip_profiles/internal.xml and external.xml have these lines:<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="auto-nat"/><br> <param name="ext-sip-ip" value="auto-nat"/><br><br>which magically "just works" between internal extensions as well as with a couple cloud SIP providers. This is with FreeSWITCH version 1.10.5 from about a year ago.<br><br>Maybe try those settings and see if they help?<br><br>BTW, I fell in love with FreeSWITCH when I installed it and configured a couple phones that were up and calling each other in my lab in about 10 minutes, so you shouldn't be too far off. They've really tried to make it easy to get a working system going quickly, then you can break things from there :-)<br><br>Here are my ancient notes which might also be helpful:<br><a href="https://freeswitch.org/confluence/display/FREESWITCH/Debian+Post-Install+Tasks" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Debian+Post-Install+Tasks</a><br><br>Hope this helps.<br><br><br>John Boteler <br>BnC Group U.S.A. <br><br><br><br>-----Original Message-----<br>From: FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>> On Behalf Of Antony Stone<br>Sent: Friday, 20 August, 2021 11:38<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Subject: [Freeswitch-users] nonat?<br><br>Hi.<br><br>I have just installed my first FreeSwitch server on a virtual machine on my local network, and I'm playing with it and a couple of SIP phones on the same network, in order to learn about it.<br><br>I've got the phones to register to the server (I've changed the default password in vars.xml), and my first test is simply to place a call between one phone and the other.<br><br>I've discovered the "NAT feature" of FreeSwitch, where it finds out what the<br>*external* IP address of my Internet router is (which has nothing to do with the FreeSwitch server or the phones I'm trying to work with here), and starts presenting that address to the telephones in the Invite messages (inlcuding the SDP negotiations).<br><br>I've found <a href="https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Auto+Nat</a> and <a href="https://freeswitch.org/confluence/display/FREESWITCH/NAT+Traversal" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/NAT+Traversal</a> which tell me that I need to use the "-nonat" command-line option to freeswitch to disable this.<br><br>However, this doesn't work for me:<br><br># ps ax | grep freeswitch<br> 3678 ? S<Lsl 0:02 /usr/bin/freeswitch -u freeswitch -ncwait -nonat<br><br>> sofia status profile internal<br>=================================================================================================<br>Name internal<br>Domain Name N/A<br>Auto-NAT false<br>DBName sofia_reg_internal<br>Pres Hosts 192.168.32.59,192.168.32.59<br>Dialplan XML<br>Context public<br>Challenge Realm auto_from<br>RTP-IP 192.168.32.59<br>Ext-RTP-IP 198.51.100.21<br>SIP-IP 192.168.32.59<br>Ext-SIP-IP 198.51.100.21<br>URL <a href="mailto:sip%3Amod_sofia@198.51.100." target="_blank">sip:mod_sofia@198.51.100.</a>.21:5060<br>BIND-URL <br><a href="mailto:sip%3Amod_sofia@198.51.100.21" target="_blank">sip:mod_sofia@198.51.100.21</a>:5060;maddr=192.168.32.59;transport=udp,tcp<br>WS-BIND-URL <a href="mailto:sip%3Amod_sofia@192.168.32.59" target="_blank">sip:mod_sofia@192.168.32.59</a>:5066;transport=ws<br>WSS-BIND-URL <a href="mailto:sips%3Amod_sofia@192.168.32.59" target="_blank">sips:mod_sofia@192.168.32.59</a>:7443;transport=wss<br><br>As you can see, my public IP address (represented here by 198.51.100.21) is still there, and it's still getting included in the Invite message and SDP negotiations between my telephones.<br><br>So, how can I run FreeSwitch and two SIP telephones on a single internal network, without any reference to my public IP address?<br><br><br>Thanks,<br><br><br>Antony.<br><br>-- <br>"640 kilobytes (of RAM) should be enough for anybody."<br><br> - Bill Gates<br><br> Please reply to the list;<br> please *don't* CC me.<br><br>_________________________________________________________________________<br><br>The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" target="_blank">https://signalwire.com</a><br>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>Build your next product on our scalable cloud platform.<br><br>Join our online community to chat in real time <a href="https://signalwire.community" target="_blank">https://signalwire.community</a><br><br>Professional FreeSWITCH Services<br><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" target="_blank">https://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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br><br><br>_________________________________________________________________________<br><br>The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" target="_blank">https://signalwire.com</a><br>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>Build your next product on our scalable cloud platform.<br><br>Join our online community to chat in real time <a href="https://signalwire.community" target="_blank">https://signalwire.community</a><br><br>Professional FreeSWITCH Services<br><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br><br>Official FreeSWITCH Sites<br><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br><a href="https://cluecon.com" target="_blank">https://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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><div><div><div><div><div><div><div><div><div><div><p class=MsoNormal><span style='font-size:9.5pt'><o:p> </o:p></span></p></div><div><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:4.5pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>Brian West | Co-founder and Developer</span><span style='font-size:9.5pt'><o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:4.5pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>Need Commercial support? email <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a> </span><span style='font-size:9.5pt'><o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:4.5pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" target="_blank"><span style='color:#1155CC'>17345 Civic Drive #2531 Brookfield, WI 53045</span></a></span><span style='font-size:9.5pt'><o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:4.5pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>Email: </span><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#1155CC'><a href="mailto:brian@freeswitch.com" target="_blank">brian@freeswitch.com</a></span><span style='font-size:9.5pt'><o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:4.5pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>Mobile: 918-424-9378</span><span style='font-size:9.5pt'><o:p></o:p></span></p><p style='mso-margin-top-alt:0in;margin-right:0in;margin-bottom:0in;margin-left:4.5pt'><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'>Website: </span><span style='font-size:9.5pt;color:black'><a href="https://www.freeswitch.com/" target="_blank"><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:#1155CC'>https://www.FreeSWITCH.com</span></a></span><span style='font-size:9.5pt'><o:p></o:p></span></p><p style='margin:0in'><a href="https://www.facebook.com/freeswitch" target="_blank"><span style='font-size:9.0pt;font-family:"Arial",sans-serif;text-decoration:none'><img border=0 width=31 height=31 style='width:.3229in;height:.3229in' id="_x0000_i1026" src="https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg"></span></a><a href="https://twitter.com/freeswitch" target="_blank"><span style='font-size:9.0pt;font-family:"Tahoma",sans-serif;text-decoration:none'><img border=0 width=31 height=31 style='width:.3229in;height:.3229in' id="_x0000_i1025" src="https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa"></span></a><span style='font-size:9.5pt'><o:p></o:p></span></p></div></div></div></div></div></div></div></div></div></div></div></div></div></div></body></html>