No subject
Wed Jun 24 00:39:36 CEST 2009
<br>
<br>./kamailio_orasel user/pass@"(DESCRIPTION=3D(ADDRESS_LIST=3D(ADDRE=
SS=3D(PROTOCOL=3DTCP)(HOST=3D<a href=3D"http://iota.alex.gr" target=3D"_bla=
nk">iota.alex.gr</a>)(PORT=3D1521)))(CONNECT_DATA=3D(SERVICE_NAME=3D<a href=
=3D"http://cid_name.alex.gr" target=3D"_blank">cid_name.alex.gr</a>)))"=
; -e "select prefix from ported_numbers where number =3D '69376309=
10';"<br>
<br>When I try to add the above format in sqlops connection then I get many=
many errors..<br><br>have you any idea on how is the right way to write th=
e sqlops URL ?<br><br>Cheers<br><font color=3D"#888888">Alex</font><div>
<div></div><div class=3D"h5"><br><br><br><br><div class=3D"gmail_quote">
On Thu, Dec 31, 2009 at 12:05 AM, Henning Westerholt <span dir=3D"ltr"><=
<a href=3D"mailto:henning.westerholt at 1und1.de" target=3D"_blank">henning.we=
sterholt at 1und1.de</a>></span> wrote:<br><blockquote class=3D"gmail_quote=
" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0=
.8ex; padding-left: 1ex;">
<div>On Wed, December 30, 2009 8:43 pm, alex pappas wrote:<br>
> Dear friends I'm trying to setup a sqlops connection to an Oracle =
db. I<br>
> loaded the db_oracle module with (loadmodule "db_oracle.so")=
without<br>
> parameters. The connection string that I gave in sqlops module is :<br=
>
> modparam("sqlops","sqlcon","ca2=3D>user/pa=
ss at ip_addres:1521:db_name")<br>
><br>
> When i try to start kamailio I get the following errors and kamailio d=
oes<br>
> NOT start:<br>
><br>
> ERROR:core:db_check_api: module db_user/pass at ip does not export<br>
> db_use_table<br>
> function<br>
> ERROR:core:init_mod_child: failed to initializing module sqlops, rank =
2<br>
> ERROR:core:main_loop: init_child failed for UDP listener<br>
<br>
</div>Hello Alex,<br>
<br>
you need to replace "db_name" with the name of a actual DB module=
. So for<br>
example "mysql", or "oracle" in your case. Here a compl=
ete example for<br>
mysql:<br>
<br>
modparam("sqlops","sqlcon","ca=3D>mysql://opens=
er:abc at localhost/openser")<br>
<br>
Regards,<br>
<font color=3D"#888888"><br>
Henning<br>
<br>
<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
--00032555fe5e54a777047c034046--
More information about the Users
mailing list