ODBC
About
Basic documentation about using ODBC with FreeSWITCH
ODBC
Freeswitch supports ODBC, enabling various aspects of a system configuration and state to be stored within a database. SIP registrations, call/channel state, voicemail messages and voicemail preferences may be stored in the database. Additionally, mod_limit configuration, mod_nibblebill and call detail record information may be stored in a database using ODBC.
For more information see using ODBC in the core
Using ODBC in Javascript
The JavaScript engine can talk to various databases through the ODBC module.
Remember that you have to add/uncomment the following in spidermonkey.conf.xml file, inside conf/autoload_configs of your installaton directory
<load module="mod_spidermonkey_odbc"/>
Compilation help: Mod_spidermonkey_odbc
Example
Methods
- ODBC.connect
- ODBC.getData
- ODBC.execute)
- ODBC.nextRow
- ODBC.numRows
- ODBC.query
- ODBC.close)