I am using PDT and I try to use DB type DBTEXT but I have problem, COuld some help me? Below I wrote debug screen and configuration.
 
 0(0) PDT: initializing...
 0(0) DEBUG: register_fifo_cmd: new command (pdt_add) registered
 0(0) DEBUG: register_fifo_cmd: new command (pdt_delete) registered
 0(0) DEBUG: register_fifo_cmd: new command (pdt_list) registered
 0(0) unixsock_register_cmd: New command (get_domainprefix) registered
 0(0) find_mod_export: found <db_use_table> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_init> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_close> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_query> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_raw_query> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_free_result> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_insert> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_delete> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: found <db_update> in module dbtext [/lib/openser/modules/dbtext.so]
 0(0) find_mod_export: <db_replace> in module dbtext not found
 0(0) DBT:dbt_cache_get_db: looking for db /etc/openser/dbtext!
 0(0) DBT:dbt_cache_get_db: database [/etc/openser/dbtext] does not exists!
 0(0) DBT:dbt_init: cannot get the link to database
 0(0) PDT: mod_init: Error while connecting to database
 0(0) init_mod(): Error while initializing module pdt
ERROR: error while initializing modules
 
 
 
- Configuration:
 
loadmodule "/lib/openser/modules/dbtext.so"
loadmodule "/lib/openser/modules/pdt.so"
 
modparam("pdt", "db_url", "dbtext:///etc/openser/dbtext")
#modparam("pdt", "db_table", "pdt")
modparam("pdt", "prefix_column", "code")
modparam("pdt", "domain_column", "hostname")
#modparam("pdt", "prefix", "00")
modparam("pdt", "hsize_2pow", 4)
modparam("pdt", "sync_time", 300)
modparam("pdt", "clean_time", 600)
 
 
- /etc/openser/dbtext:
 
hostname(str)   code(str)
groupX:2121
groupY.voip.nce.ufrj.br:3131