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.
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:
I think it would be nice if FS can show you the information on real
freeswitch@internal> show channels
-ERR SQL DISABLED NO CHANNEL DATA AVAILABLE!
freeswitch@internal>
time, and on run time, without any SQL at all, and leave UnixODBC &
SQLite as optional options, I also think this will improve
performance.