Re: [SR-Users] Kamailio with Sqlite

2014-05-23 Thread Ashwin Kumar R
Dear All, Solved the Issue.It was the the location problem itself. had to change it to #!define DBURL "sqlite:///usr/local/etc/kamailio/kamailio.db" Regards Ashwin On 2014-05-21 20:54, Ashwin Kumar R wrote: Dear Sir, I'm still getting the same error . I checked the log file ,following is

Re: [SR-Users] Kamailio with Sqlite

2014-05-22 Thread Timo Teras
On Wed, 21 May 2014 20:54:48 +0530 Ashwin Kumar R wrote: > Dear Sir, > > I'm still getting the same error . > > I checked the log file ,following is the comments in syslog. > > May 21 20:11:44 r13pc80-desktop /usr/local/sbin/kamailio[3470]: > ERROR: db_sqlite [dbase.c:67]: db_sqlite_new_connec

Re: [SR-Users] Kamailio with Sqlite

2014-05-21 Thread Ashwin Kumar R
Dear Sir, I'm still getting the same error . I checked the log file ,following is the comments in syslog. May 21 20:11:44 r13pc80-desktop /usr/local/sbin/kamailio[3470]: ERROR: db_sqlite [dbase.c:67]: db_sqlite_new_connection(): failed to open sqlite database '/etc/kamailio/kamailio.db' I

Re: [SR-Users] Kamailio with Sqlite

2014-05-20 Thread Daniel-Constantin Mierla
Hello, try with: modparam("auth_db", "db_url", "sqlite:etc/kamailio/kamailio.db") Note the four times /. Cheers, Daniel On 20/05/14 16:09, Ashwin Kumar R wrote: Hi, I want to configure kamailio to use SQLITE instead of MYSQL.I made DB_ENGINE=SQLITE in kamctlrc file and loadmodule "db_s

[SR-Users] Kamailio with Sqlite

2014-05-20 Thread Ashwin Kumar R
Hi, I want to configure kamailio to use SQLITE instead of MYSQL.I made DB_ENGINE=SQLITE in kamctlrc file and loadmodule "db_sqlite.so" in kamctl.conf file. But when I changed these parameters modparam("auth_db", "db_url", "sqlite:///etc/kamailio/kamailio.db") #!define DBURL "sqlite:///etc/