Re: [SR-Users] sqlite errors

2015-10-27 Thread Timo Teras
On Mon, 26 Oct 2015 19:43:52 +0100 nadie wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hello, sorry for the question. Kamailio 4.3.3, debian Jessie: > > Kamailio with sqlite all work correctly > > but syslog tells: > ... > Oct 26 19:36:01 voip /usr/sbin/kamailio[2643]: ERROR: db

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] Freezing development for Kamailio v4.1.0

2013-10-02 Thread Timo Teras
On Wed, 02 Oct 2013 15:20:33 +0200 Daniel-Constantin Mierla wrote: > > On 10/2/13 8:25 AM, Timo Teras wrote: > > On Mon, 30 Sep 2013 14:46:48 +0200 > > "Olle E. Johansson" wrote: > > > >> 30 sep 2013 kl. 14:04 skrev Daniel-Constantin Mierla > >&

Re: [SR-Users] Freezing development for Kamailio v4.1.0

2013-10-01 Thread Timo Teras
On Mon, 30 Sep 2013 14:46:48 +0200 "Olle E. Johansson" wrote: > > 30 sep 2013 kl. 14:04 skrev Daniel-Constantin Mierla > : > > > Hello, > > > > On 9/30/13 12:08 PM, Timo Teras wrote: > >> On Mon, 30 Sep 2013 11:48:10 +0200 > >> Dan

Re: [SR-Users] Freezing development for Kamailio v4.1.0

2013-09-30 Thread Timo Teras
On Mon, 30 Sep 2013 11:48:10 +0200 Daniel-Constantin Mierla wrote: > a short reminder that we are one week before feature freeze for next > major release. I would like to incorporate the module from: https://github.com/rdboisvert/mohqueue Could you review it? I am willing to be maintainer for

Re: [SR-Users] db_sqlite bugs

2012-11-15 Thread Timo Teras
On Thu, 15 Nov 2012 15:00:24 +0100 Pedro Antonio Vico Solano wrote: > We've done more tests with both of your patches and it seems to work > fine. > > You can upload it to GIT. Done. Commit ecf95eb Wed Oct 17 09:00:14 fixes the mem leak. Commit 0920586 Thu Nov 15 16:11:41 fixes the computed fi

Re: [SR-Users] db_sqlite bugs

2012-10-29 Thread Timo Teras
On Mon, 29 Oct 2012 16:07:56 +0200 Timo Teras wrote: > I guess we should first try decltype if available and fall back to > first row column type. However, this will fail too if the first row > has NULL value for the column. > > The fundamental problem is that Kamailio DB API exp

Re: [SR-Users] db_sqlite bugs

2012-10-29 Thread Timo Teras
Hi, On Mon, 29 Oct 2012 13:01:57 +0200 Vitaliy Aleksandrov wrote: > Have you found the way to run SELECT COUNT(*) ? > I use kamailio 3.2.4 with sqlite 3.7.5-1 and it crashes on such > queries too. > > As a workaround I use $dbr(res=>rows) with "SELECT some_field FROM > table" query, but the bu

Re: [SR-Users] db_sqlite bugs

2012-10-15 Thread Timo Teras
On Thu, 11 Oct 2012 12:37:23 +0200 Pedro Antonio Vico Solano wrote: > Hello everyone, > > We are developing a solution based on the SQLite module for Kamailio > and we've found some bugs/errors regarding it. We use kamailio 3.2.4 > and SQLite 3.7.14.1. The errors are about this: > > - Memory le

Re: [SR-Users] db_sqlite bugs

2012-10-11 Thread Timo Teras
On Thu, 11 Oct 2012 12:37:23 +0200 Pedro Antonio Vico Solano wrote: > We are developing a solution based on the SQLite module for Kamailio > and we've found some bugs/errors regarding it. We use kamailio 3.2.4 > and SQLite 3.7.14.1. The errors are about this: Thanks for the config examples. To

Re: [SR-Users] uac module From header rewriting problems

2012-07-19 Thread Timo Teras
On Thu, 19 Jul 2012 18:00:24 +0300 Anca Vamanu wrote: > You might be interested in checking out the commit > > 0f702f6e236eb0cbb238bf83a0c4ae94d7b3cad8 . > > It adds an alternative implementation to the AUTO mode for > uac_replace_from/to() by using the dialog module to store the URIs. Thanks

Re: [SR-Users] uac module From header rewriting problems

2012-07-03 Thread Timo Teras
On Tue, 03 Jul 2012 16:23:45 +0200 Daniel-Constantin Mierla wrote: > > On 7/3/12 3:49 PM, Timo Teras wrote: > > On Tue, 03 Jul 2012 12:16:38 +0200 Daniel-Constantin Mierla > > wrote: > > > >> Hello, > >> > >> On 7/3/12 8:02 AM, Timo Teras

Re: [SR-Users] uac module From header rewriting problems

2012-07-03 Thread Timo Teras
On Tue, 03 Jul 2012 12:16:38 +0200 Daniel-Constantin Mierla wrote: > Hello, > > On 7/3/12 8:02 AM, Timo Teras wrote: > > Hi, > > > > I fixed some uac From rewriting issues in commit e1d1c774c9ac0b4d, > > however even with the latest versions I'm still seein

[SR-Users] uac module From header rewriting problems

2012-07-02 Thread Timo Teras
Hi, I fixed some uac From rewriting issues in commit e1d1c774c9ac0b4d, however even with the latest versions I'm still seeing corruption in From headers when they are rewritten for the whole dialogue (from_restore_mode=auto, the default). I spent some time analyzing the problem and the problem se

Re: [SR-Users] [PATCH] modules_k/db_sqlite: make decltype matching case-insensitive

2012-05-22 Thread Timo Teras
On Tue, 22 May 2012 13:11:04 +0300 Timo Teras wrote: > On Tue, 22 May 2012 10:46:34 +0200 Daniel-Constantin Mierla > wrote: > > > Hello, > > > > On 5/19/12 10:39 PM, Timo Teräs wrote: > > > Search for keywords case insensitively instead of using strstr()

Re: [SR-Users] [PATCH] modules_k/db_sqlite: make decltype matching case-insensitive

2012-05-22 Thread Timo Teras
On Tue, 22 May 2012 10:46:34 +0200 Daniel-Constantin Mierla wrote: > Hello, > > On 5/19/12 10:39 PM, Timo Teräs wrote: > > Search for keywords case insensitively instead of using strstr(). > > SQlite stores decltype as-is, and does the affinity type testing > > case insensitively too. > > Perha

Re: [SR-Users] SQLite datatypes

2012-05-17 Thread Timo Teras
On Thu, 17 May 2012 15:02:30 -0300 Sebastian Ferguson wrote: > I've tryied with varchar(20) (lowercase) before I sent the original > e-mail and it doesn't work. And I have tryied storing data as a > number and as a stirng (I know that sqlite has not stict type > definitios). > > After your e-mai

Re: [SR-Users] SQLite datatypes

2012-05-17 Thread Timo Teras
On Wed, 16 May 2012 18:06:08 -0300 Sebastian Ferguson wrote: > I think this is related to data types. > In the logs I can see that kamailio is defaulting datatypes to INT > (I've tested varchar, int, and bigint in sqlite3), but I don't know > how large could an integer be in Kamailio. According t

Re: [SR-Users] Howto configure to use SQLITE

2012-02-09 Thread Timo Teras
Hi, On Thu, 09 Feb 2012 13:35:00 +0200 Perazim wrote: > I am a new user and am trying to configure kamailio to use SQLITE > instead of MYSQL. I see that SQLITE option is rather new and maybe not > as documented as MYSQL. > > I am running on fedora 14 and have installed MYSQL3 from rpms. > Kamai