<div dir="ltr"><div><div><div>The best way to learn more about this is Tony&#39;s &quot;117&quot; post:<br></div><a href="http://www.freeswitch.org/node/117">http://www.freeswitch.org/node/117</a><br><br></div>Also, check out Tony&#39;s &quot;History of FreeSWITCH&quot; in the FS book. (Note: we are nearly done with the 2e of the book, so don&#39;t buy the old one unless Packt gives you assurances that you can get the new one as well.)<br>
<br></div>-MC<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 24, 2013 at 1:13 AM, Jeff Bernhardt <span dir="ltr">&lt;<a href="mailto:jeff@askcornerstone.net" target="_blank">jeff@askcornerstone.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 link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Thanks for taking the time to answer. I know it gets busy around here with all sorts of stuff that frankly is over my head! It’s kind of nice that way, though… keeps some of the mystery and excitement alive
 for what’s possible.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Yeah, I didn’t mean it like “Asterisk can do this so what the hell is wrong with Freeswitch?” Was just wondering why, so thanks for the clear explanation.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">I actually didn’t know Asterisk had so much goofiness. Can you (or anyone else) give any examples of its goofiness? We’re relatively light PBX users in general (just the basics for clients with no more than
 150 phones, some with only 5 phones!), so we might not have come across any of them.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Jeff Bernhardt<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Systems Administrator<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Cornerstone Consulting<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><a href="tel:808.440.2900" value="+18084402900" target="_blank">808.440.2900</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <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>Michael Collins<br>
<b>Sent:</b> Tuesday, April 23, 2013 7:46 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] External Softphone vs. Internal Question<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Jeff,<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">The short answer is that you are not forced to create a separate profile for internal vs. external phones. However, FreeSWITCH gives you this freedom whereas Asterisk does not. You *could* try to cram everything
 into port 5060, but there&#39;s no compelling reason to do so. A lot of VoIPers are accustomed to using 5060 and only 5060, come what may. FreeSWITCHers generally view that as a limitation, not a feature.
<br>
<br>
By having multiple SIP profiles - quite literally multiple SIP UAs - you have more freedom and flexibility to handle goofy scenarios like dealing with broken NAT devices. You can put all your broken stuff on a different profile and not have to worry that setting
 a particular option to fix one device will break another device. <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Oh, and keep in mind that &quot;just because Asterisk can do it&quot; doesn&#39;t mean that Asterisk does it correctly. There are a lot of devices out there that &quot;work&quot; but only because they all choose to be synchronized
 in their goofiness. Reams have been written about how FS does not pander to broken devices so I won&#39;t belabor the point here. Just know this: FS is relatively strict in adhering to specs and standards, so if something works with Asterisk (or whatever VoIP
 software) but not with FS then most likely it&#39;s a matter of figuring out how to tell FS to emulate the brokenness for the sake of interoperability.<u></u><u></u></p>
</div>
<p class="MsoNormal">Hope this helps. Let us know how your setup is coming along. Be sure to use
<a href="http://pastebin.freeswitch.org" target="_blank">pastebin.freeswitch.org</a> to share any configurations or logs with us.<br>
<br>
Thanks,<u></u><u></u></p>
</div>
<p class="MsoNormal">-MC<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Sat, Apr 20, 2013 at 2:50 AM, Jeff Bernhardt &lt;<a href="mailto:jeff@askcornerstone.net" target="_blank">jeff@askcornerstone.net</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Hi. I have the following basic setup questions:
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">When using a softphone (Bria on iPhone) from external (on a different external ip address), I could register but no audio would be passed either way for any calls. I saw that I should set ext-rtp-ip in the
 internal sip profile to my external ip address (it was on auto-nat, which apparently wasn&#39;t working) in this wiki <a href="http://wiki.freeswitch.org/wiki/NAT_Traversal" target="_blank">http://wiki.freeswitch.org/wiki/NAT_Traversal</a><u></u><u></u></span></p>

</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">That didn&#39;t work, so I also set my ext-sip-ip to my public ip. After that, I could pass audio.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">However, if I register the phone internally instead and call for instance the IVR test line, the call drops after 30 seconds.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">So it&#39;s either no audio when registered externally or 30 second calls when registered internally.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">I found this wiki: <a href="http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios" target="_blank">http://wiki.freeswitch.org/wiki/General_NAT_example_scenarios</a><u></u><u></u></span></p>

</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">I fall into either scenario 2 or 3, and for both, it says to create a dedicated profile for external registrations and put them on port 5090, which works. However, is there no other way to solve this problem
 that doesn&#39;t require the use of an additional profile on port 5090 but also doesn&#39;t cut off internally registered calls after 30 seconds? On Asterisk, there&#39;s no need to open a second port to register external phones. What&#39;s different about Freeswitch?<u></u><u></u></span></p>

</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Also, I don&#39;t know what role these play, but I also get these errors:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">[WARNING] switch_core_media.c:1282 Asynchronous PTIME not supported, changing our end from 0 to 20<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">at seemingly random times<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">...and....<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">[INFO] switch_nat.c:590 NAT port mapping disabled<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">when I make a call from internally or externally registered softphone to external number.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Thank you.<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" 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="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><u></u><u></u></p>
</div>
</div></div></div>
</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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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" 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="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br>
</div>