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. On Fri, Mar 13, 2009 at 6:12 AM, Diego Viola <diego.viola@gmail.com> wrote:
Erhm, this is what I wanted to say.
--
I think FreeSWITCH should leave that SQLite option as optional, I think it would be nicer if FS doesn't depend on any SQL at all, if you do a show channels right now with -nosql, this is what you will see:
freeswitch@internal> show channels -ERR SQL DISABLED NO CHANNEL DATA AVAILABLE!
freeswitch@internal>
I think it would be nice if FS can show you the information on real time, and on run time, without any SQL at all, and leave UnixODBC & SQLite as optional options, I also think this will improve performance.
-- -Rupa