[SR-Users] kamailio with oracle data base

Diego Nadares dnadares at gmail.com
Thu Jan 24 14:52:11 CET 2019


Hi eyas!

I used db_unixodbc module to connect with oracle.

I had to configure these files.

vim /etc/odbc.ini
[mydb]
Driver = ORACLE
DSN = ORACLE
ServerName = MyDB
UserID = proxysip
Password = proxysip

vim /etc/odbcinst.ini

 [ORACLE]
Description
Driver
FileUsage
Driver Logging = 7
= ODBC for Oracle
= /usr/lib/oracle/12.1/client64/lib/libsqora.so.12.1
= 1
#Test de la conexion isql -v mydb
+---------------------------------------+
| Connected! ||
| sql-statement
| help [tablename]
| quit
|| +---------------------------------------+


Cheers,

Diego

El El jue, 24 ene. 2019 a las 10:35, eyas barhouk <eyas37 at hotmail.com>
escribió:

> thanks for your kind reply dear Henning.
>
> i already read it, but i didn't find any function on it or any
> configuration to setup the connection between  kamailio and oracle database.
> if there is any document or tutorial about how to configure kamailio with
> oracle D.B and request a function from database it will be great & i will
> be thankful.
>
> Regards
> Eyas
>
> ------------------------------
> *From:* Henning Westerholt <hw at kamailio.org>
> *Sent:* Thursday, January 24, 2019 12:59 PM
> *To:* sr-users at lists.kamailio.org
> *Cc:* eyas barhouk
> *Subject:* Re: [SR-Users] kamailio with oracle data base
>
> Am Donnerstag, 24. Januar 2019, 13:25:30 CET schrieb eyas barhouk:
> > i'm trying to build kamailio on top of oracle D.B so is there any way to
> > configure kamailio to deal with Oracle D.B and call functions from it ?
>
> Hello Eyas,
>
> have a look to the db_oracle module:
>
> https://kamailio.org/docs/modules/5.2.x/modules/db_oracle.html
>
> Best regards,
>
> Henning
>
>
> --
> Henning Westerholt - https://skalatan.de/blog/
> Kamailio services - https://skalatan.de/services
> Kamailio security assessment - https://skalatan.de/de/assessment
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20190124/3826b263/attachment.html>


More information about the sr-users mailing list