Search code examples
asteriskvoipelastix

Asterisk Database Functions (Berkeley Database or SQLite)


According to this link "https://wiki.asterisk.org/wiki/display/AST/Asterisk+Internal+Database", Asterisk was using Berkeley Database as its internal database up to version 1.8 and from version 10 it has switched to SQLite.

As there are some functions to work with asterisk internal database (such as DB, DB_DELETE, DB_EXISTS, DB_KEYS) in the dial plan, and most of them get a key as input argument, I want to know if this functions are working on Asterisk systems with version numbers above 10? Are they working with their relational database (SQLite) too?

Thanks in advance


Solution

  • Thoose functions working, with INTERNAL database(fixed file) only.

    If you need use external source(sqlite,mssql,access, anything) you have use UnixODBC connector and func_odbc with pure sql

    https://www.voip-info.org/wiki/view/Asterisk+func+func_odbc