it is not possible to have same prefix pointing to 2 different
domains....that's the error I would say..
regards,
bogdan
Andrew And wrote:
MY CONFIG IS OK NOW.
But with PDT I only have problem when there is the some prefix to
hostnames destination differents, the OpenSER show me that there is
duplicate prefix and stop init.
Example:
prefix 33 to
proxy1.com <http://proxy1.com>
and
prefix 33 to
proxy2.com <http://proxy2.com>
With prefix different I don´t have problem now.
IS this OK? ou I am with mistake in my config?
2006/9/6, Bogdan-Andrei Iancu <bogdan(a)voice-system.ro
<mailto:bogdan@voice-system.ro>>:
Hi,
try to set the db_url only like:
modparam("pdt", "db_url", "dbtext:///etc/openser")
and rename /etc/openser/dbtext to /etc/openser/pdt to match the
table name
regards,
bogdan
Andrew And wrote:
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
<http://groupY.voip.nce.ufrj.br:3131> <
http://groupY.voip.nce.ufrj.br:3131>
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org <mailto:Users@openser.org>
http://openser.org/cgi-bin/mailman/listinfo/users