<div> </div>
<div> MY CONFIG IS OK NOW.</div>
<div> </div>
<div> 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.</div>
<div> </div>
<div>Example:</div>
<div>prefix 33 to <a href="http://proxy1.com">proxy1.com</a></div>
<div>and</div>
<div>prefix 33 to <a href="http://proxy2.com">proxy2.com</a></div>
<div> </div>
<div> With prefix different I don´t have problem now.</div>
<div> </div>
<div> IS this OK? ou I am with mistake in my config?</div>
<div> </div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">2006/9/6, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>try to set the db_url only like:<br> modparam("pdt", "db_url", "dbtext:///etc/openser")
<br>and rename /etc/openser/dbtext to /etc/openser/pdt to match the table name<br><br>regards,<br>bogdan<br><br>Andrew And wrote:<br><br>><br>> I am using PDT and I try to use DB type DBTEXT but I have problem,<br>
> COuld some help me_? Below I wrote debug screen and configuration._<br>><br>> 0(0) PDT: initializing...<br>> 0(0) DEBUG: register_fifo_cmd: new command (pdt_add) registered<br>> 0(0) DEBUG: register_fifo_cmd: new command (pdt_delete) registered
<br>> 0(0) DEBUG: register_fifo_cmd: new command (pdt_list) registered<br>> 0(0) unixsock_register_cmd: New command (get_domainprefix) registered<br>> 0(0) find_mod_export: found <db_use_table> in module dbtext
<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_init> in module dbtext<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_close> in module dbtext
<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_query> in module dbtext<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_raw_query> in module dbtext
<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_free_result> in module dbtext<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_insert> in module dbtext
<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_delete> in module dbtext<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: found <db_update> in module dbtext
<br>> [/lib/openser/modules/dbtext.so]<br>> 0(0) find_mod_export: <db_replace> in module dbtext not found<br>> 0(0) DBT:dbt_cache_get_db: looking for db /etc/openser/dbtext!<br>> 0(0) DBT:dbt_cache_get_db: database [/etc/openser/dbtext] does not
<br>> exists!<br>> 0(0) DBT:dbt_init: cannot get the link to database<br>> 0(0) PDT: mod_init: Error while connecting to database<br>> 0(0) init_mod(): Error while initializing module pdt<br>> ERROR: error while initializing modules
<br>><br>><br>><br>> - Configuration:<br>><br>> loadmodule "/lib/openser/modules/dbtext.so"<br>> loadmodule "/lib/openser/modules/pdt.so"<br>><br>> modparam("pdt", "db_url", "dbtext:///etc/openser/dbtext")
<br>> #modparam("pdt", "db_table", "pdt")<br>> modparam("pdt", "prefix_column", "code")<br>> modparam("pdt", "domain_column", "hostname")
<br>> #modparam("pdt", "prefix", "00")<br>> modparam("pdt", "hsize_2pow", 4)<br>> modparam("pdt", "sync_time", 300)<br>> modparam("pdt", "clean_time", 600)
<br>><br>><br>> - /etc/openser/dbtext:<br>><br>> hostname(str) code(str)<br>> groupX:2121<br>> <a href="http://groupY.voip.nce.ufrj.br:3131">groupY.voip.nce.ufrj.br:3131</a> <<a href="http://groupY.voip.nce.ufrj.br:3131">
http://groupY.voip.nce.ufrj.br:3131</a>><br>><br>><br>><br>><br>>------------------------------------------------------------------------<br>><br>>_______________________________________________<br>
>Users mailing list<br>><a href="mailto:Users@openser.org">Users@openser.org</a><br>><a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>><br>>
<br><br></blockquote></div><br>