Also I have tried integrating mod_spidermonkey_odbc (http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc). But still the registrations are being stored in the SQLite file and not in the MySQL database.