Using sql for the show commands is pretty elegant.  It allows one to get info without having to lock a bunch of in memory data structures prior to collecting stats.  Locking data structures just for reporting == bad -- especially on a high volume server.<br>
<br><div class="gmail_quote">On Fri, Mar 13, 2009 at 6:12 AM, Diego Viola <span dir="ltr">&lt;<a href="mailto:diego.viola@gmail.com">diego.viola@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Erhm, this is what I wanted to say.<br>
<br>
--<br>
<br>
I think FreeSWITCH should leave that SQLite option as optional, I<br>
think it would be nicer if FS doesn&#39;t depend on any SQL at all, if you<br>
do a show channels right now with -nosql, this is what you will see:<br>
<div class="im"><br>
freeswitch@internal&gt; show channels<br>
-ERR SQL DISABLED NO CHANNEL DATA AVAILABLE!<br>
<br>
freeswitch@internal&gt;<br>
<br>
</div>I think it would be nice if FS can show you the information on real<br>
time, and on run time, without any SQL at all, and leave UnixODBC &amp;<br>
SQLite as optional options, I also think this will improve<br>
performance.<br>
<div><div></div><div class="h5"><br>
</div></div></blockquote></div><br clear="all"><br>-- <br>-Rupa<br>