Hello Georgy,
Regarding your Kamailio configuration with PostgreSQL, could you please
provide more information about the error that Kamailio is giving when it
tries to connect to the database? Knowing the error message would help in
identifying the issue.
Il giorno gio 6 apr 2023 alle ore 15:32 <georgy.grigoryev(a)snapcom.fr> ha
scritto:
Hello everyone,
I'm trying to connect Kamailio 5.5.5 to my PostgreSQL 14.
They are on two different servers.
I have created the Kamailio DB on the Postgre with the help of the command
"kamdbctl create"
I'm able to connect to the database with no problem.
The problem is in the kamailio.cfg file, i have added this so far:
#!define WITH_PGSQL
#!ifdef WITH_PGSQL
#!define DBURL "postgres://USER:PASSWORD@IP:POPT/kamailio"
#!endif
#!ifdef WITH_PGSQL
loadmodule "db_postgres.so"
#!endif
modparam("db_postgres", "retries", 3)
modparam("db_postgres", "timeout", 10)
modparam("db_postgres", "tcp_keepalive", 600)
modparam("db_postgres", "lockset", 6)
modparam("db_postgres", "bytea_output_escape", 0)
But my kamailio doenst like this configuration, can someone help me find
the problem?
Thank you in advance!
Best Regards!
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
--
*TLC 4.0*: 20 anni di *esperienza* al tuo servizio per sviluppare *soluzioni
voce e dati innovative*
Paolo Visintin
*evoseed s.r.l.*
phone: +39 346 09 86 641
mail: paolo.visintin(a)evoseed.io
site: evoseed.io
address: Via Lucrezio 13, Trieste ItalyFissa
<https://calendly.com/paolo-visintin-evoseed/30min> una call con me