<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>At the risk of evisceration (but with the intention
of helping avoid future brain dead build vs. idiot admin debates), I'd suggest
that, when significant new bits are added to the switch core, they should
default to being off and require a configuration option to turn them on.
Such config options can be added to the default config; that way new installs
will have the new functionality enabled by default, but those upgrading from an
older install will need to enable them manually, reducing the risk of stuff
breaking.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>--Dave</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=brian@freeswitch.org href="mailto:brian@freeswitch.org">Brian
West</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=freeswitch-users@lists.freeswitch.org
href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 01, 2009 11:33
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Freeswitch-users] Make
current fails (build 13537)</DIV>
<DIV><BR></DIV>NO its not a bad one at all. Its switch_nat_init(); in
switch_core.c since your network must be eating the packets its sending out to
detect if you're behind nat or not... and not getting an ICMP unreachable like
it should be getting... the joys of admins that block all ICMP like idiots.
ICMP has many uses... and outright blocking it is stupid. (This is my
assumption cuz its what makes sense in this case)
<DIV><FONT size=2 face=Arial></FONT><BR></DIV>
<DIV>So you're getting hit by the nice retry/timeout loop in the natpmp
software we just added and possibly the upnp lib too.</DIV>
<DIV><BR></DIV>
<DIV>So for now edit switch_core.c and comment out switch_nat_init();</DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR></DIV>
<DIV>I'm working my ass off to ensure that our users that do have to live in
these insane nat scenarios can do so without much if any pain. Most of which
uses SMB/Consumer grade routers which these two libs we added would allow us
to poke holes and setup stuff and make it painless as possible. </DIV>
<DIV><BR></DIV>
<DIV>Soon you'll have an option in switch.conf.xml to turn it off.</DIV>
<DIV><BR></DIV>
<DIV>Please next time don't be so demanding and calling builds brain dead ..
when in fact its trying to become more aware of its network config without
much user input.</DIV>
<DIV><BR></DIV>
<DIV>/b</DIV>
<DIV><BR>
<DIV>
<DIV>On Jun 1, 2009, at 5:24 PM, Nik Middleton wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); 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: 0px"
class=Apple-style-span>
<DIV
style="MARGIN: 0in 0in 0pt; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><FONT
color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Well I can only
assume build 13537 is brain dead. Surely I shouldn’t have to edit a
whole bunch of configs to get it working. FS now takes 3 minutes to start,
with no indication as to what it’s looking for in the logs. That said, to
date ‘make current’ has always worked well for me. Guess I was bound
to hit a bad one eventually. <O:P></O:P></SPAN></FONT></DIV>
<DIV
style="MARGIN: 0in 0in 0pt; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><FONT
color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><O:P></O:P></SPAN></FONT></DIV>
<DIV
style="MARGIN: 0in 0in 0pt; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><FONT
color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">Still, it’s very
frustrating.<O:P></O:P></SPAN></FONT></DIV>
<DIV
style="MARGIN: 0in 0in 0pt; FONT-FAMILY: 'Times New Roman'; FONT-SIZE: 12pt"><FONT
color=navy size=2 face=Arial><SPAN
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><O:P></O:P></SPAN></FONT></DIV></SPAN></BLOCKQUOTE></DIV><BR>
<DIV apple-content-edited="true"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); 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: 0px"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); 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: 0px"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 12px Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0); 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: 0px"
class=Apple-style-span>
<DIV
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV>Brian West</DIV>
<DIV><A href="mailto:brian@freeswitch.org">brian@freeswitch.org</A></DIV>
<DIV><BR></DIV></DIV></SPAN>-- Meet us at ClueCon! <A
href="http://www.cluecon.com/">http://www.cluecon.com</A><BR>
<DIV><BR></DIV></DIV></SPAN><BR
class=Apple-interchange-newline></DIV></SPAN><BR
class=Apple-interchange-newline></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Freeswitch-users
mailing
list<BR>Freeswitch-users@lists.freeswitch.org<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></BODY></HTML>