<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Sep 7, 2006, at 2:26 PM, Alex Guan wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Anthony,</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Great answers indeed.<SPAN class="Apple-converted-space"> </SPAN>Thanks a lot!<SPAN class="Apple-converted-space"> </SPAN>Is there a documentation system that I can save it to ... like a wiki?<SPAN class="Apple-converted-space"> </SPAN>These information are too valuable to be buried in the mail archive.</FONT></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We have trac.freeswitch.org or voip-info.org (I think we prefer it being on trac)</DIV><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">It took me a while but I think I have come to agreement for pretty much every point you made, except one.<SPAN class="Apple-converted-space"> </SPAN>The only thing I felt suspicious is the busy waiting in which the originator polls check_channel_status() a million times after the originatee starts ringing but before it answers. <SPAN class="Apple-converted-space"> </SPAN>Can't we wait for a mutex or condition waken up by CALL_ANSWERED?<SPAN class="Apple-converted-space"> </SPAN>Imagine if you have a thousand incoming calls, there will be 1000 while loops spinning the processor.</FONT></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Anthony will need to answer this one. ;)</DIV><BR><BLOCKQUOTE type="cite"> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Another issue I noticed is that hold/resume is not working properly.<SPAN class="Apple-converted-space"> </SPAN>There was no 200OK for the re-INVITE.<SPAN class="Apple-converted-space"> </SPAN>I tried to debug further but somehow couldn't get into mod_exosip.c using gdb.<SPAN class="Apple-converted-space"> </SPAN>(DDD and Eclipse behaved the same.<SPAN class="Apple-converted-space"> </SPAN>Does anybody have the same issue?)<SPAN class="Apple-converted-space"> </SPAN>I kind of guess the issue is what kind of SDP is the SIP phone sending for hold.<SPAN class="Apple-converted-space"> </SPAN>The old way is to set an all zero O field, as opposed to SENDONLY or INACTIVE.<SPAN class="Apple-converted-space"> </SPAN>Anyways, if mod_exopsip.c is going way, we should probably just wait for mod_sofia.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We still have work to do on sofia-sip to bring it up to speed with all the features we want.</DIV><BR><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Two more basic questions:</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">1. Licensing.<SPAN class="Apple-converted-space"> </SPAN>A main problem I saw with Asterisk is it's GPL/Digium dual licensing scheme.<SPAN class="Apple-converted-space"> </SPAN>I don't see any serious business development could be possible under this license.<SPAN class="Apple-converted-space"> </SPAN>I think Mark and his company have made a big mistake on this subject.<SPAN class="Apple-converted-space"> </SPAN>(And their business model as well.)<SPAN class="Apple-converted-space"> </SPAN>What's the main rationale for you/other founders to choose MPL?<SPAN class="Apple-converted-space"> </SPAN>Do you favour/oppose to commercial development using freeswitch in their proprietary systems?</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The MPL allows you to commercialize the code. But Anthony can elaborate on this subject more than I can. I don't want to speak on his behalf.</DIV><BR><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">2. Memory usage.<SPAN class="Apple-converted-space"> </SPAN>I am seeing freeswitch using 25M bytes of memory with just one basic SIP call.<SPAN class="Apple-converted-space"> </SPAN>It's a little surprising.<SPAN class="Apple-converted-space"> </SPAN>Should I turn on the -Os to see if we can save some space?</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><SPAN class="Apple-converted-space"> </SPAN>PID USER<SPAN class="Apple-converted-space"> </SPAN>PR<SPAN class="Apple-converted-space"> </SPAN>NI<SPAN class="Apple-converted-space"> </SPAN>VIRT<SPAN class="Apple-converted-space"> </SPAN>RES<SPAN class="Apple-converted-space"> </SPAN>SHR S %CPU %MEM<SPAN class="Apple-converted-space"> </SPAN>TIME+ COMMAND</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">25295 root <SPAN class="Apple-converted-space"> </SPAN>0 -20 27040<SPAN class="Apple-converted-space"> </SPAN>25m 3696 S<SPAN class="Apple-converted-space"> </SPAN>0<SPAN class="Apple-converted-space"> </SPAN>2.5 <SPAN class="Apple-converted-space"> </SPAN>0:00.12 lt-freeswitch<SPAN class="Apple-converted-space"> </SPAN></FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can try it out and see. Also look at what modules you load. When I start freeswitch up on my mac I use 6 or 7 megs of ram. </DIV><BR><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Thanks,</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Alex</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">_______________</FONT></P> </BLOCKQUOTE></DIV><BR></BODY></HTML>