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@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@kamailio.org>
Sent: Thursday, January 24, 2019 12:59 PM
To: sr-users@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@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users