<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Dears,<br>
<br>
I have tried out Kamailio 3.3.4 with PostgreSQL as persistence but
it does not work.<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
<pre class="code">make FLAVOUR=kamailio include_modules="db_postgres" cfg
</pre>
was OK. I found /usr/local/lib/kamailio/modules/db_postgres.so after
installation.<br>
<br>
I have successfully set up database openser using
/usr/local/sbin/kamdbctl create with DBENGINE=PGSQL in
/usr/local/etc/kamailio/kamctlrc.<br>
<br>
I have edited /usr/local/etc/kamailio/kamailio.cfg with:<br>
<br>
#!define WITH_PGSQL<br>
#!define WITH_AUTH<br>
#!define WITH_USRLOCDB<br>
...<br>
<br>
#!ifdef WITH_PGSQL<br>
#!define DBURL "postgres://openser/openserrw@localhost:5432/openser"<br>
#!endif<br>
...<br>
#!ifdef WITH_PGSQL<br>
loadmodule "db_postgres.so"<br>
#!endif<br>
<br>
Run /etc/init.d/kamailio start|debug I got<br>
Listening on<br>
....<br>
<br>
kamailio error, failed to start.<br>
<br>
Does someone know some hints or have a working example?<br>
<br>
When I comment out the first 3 define kamailio starts fine.<br>
<br>
Thank you for your help.<br>
<pre class="moz-signature" cols="72">--
Ngô Vi Hoài Anh
Biedenkopfer Weg 13
60489 Frankfurt am Main
069 74 22 36 63
0172 53 97 0 82
</pre>
</body>
</html>