Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2016-01-25 Thread Daniel-Constantin Mierla
Last patch on pua module - 3331bf3e0b81366f21a7eccf19cfc650e721fb95 --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/345#issuecomment-174489690___ sr-dev mailing list sr-dev@lists.sip-router.org http://li

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2016-01-25 Thread Vasiliy Ganchev
Hi Daniel! Sorry for the noise, but can you point out to the patch for this issue? --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/345#issuecomment-174484913___ sr-dev mailing list sr-dev@lists.sip-route

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2016-01-24 Thread Daniel-Constantin Mierla
Closed #345. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/345#event-524355956___ sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2016-01-24 Thread Daniel-Constantin Mierla
Pushed a patch to test from_tag field as well. it seems that sqlite module doesn't like null pointers to string values which are going to not-null constraints. --- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/345#issuecomment-174341618___

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-12-18 Thread Vasiliy Ganchev
Hi Daniel! have the same errors in logs (as in first post) in kamailio-4.2.5 Tried your patch suggested here, have [the same result as sternik](https://github.com/kamailio/kamailio/issues/345#issuecomment-153397799) Added the check for "from_tag", now my test code looks like: ``` --- pua.c

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-12-18 Thread 00Asgaroth00
just to chime in on this ticket, I am also seeing this same behaviour. Kamailio version: ``` version: kamailio 4.3.4 (x86_64/linux) 0ec860 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC,

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-11-03 Thread sternik
It seems that callid is empty. Output after applying patch: ``` Nov 3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [publish.c:75]: msg_presentity_clean(): cleaning expired presentity information Nov 3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: db_sqlite [dbase.c:183]: db_sqlite_submi

Re: [sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-11-03 Thread Daniel-Constantin Mierla
Can you try with the patch from commit ad552d4e45a8311d50444d76e9862d40421e1715 or with the master branch? Send again the output from syslog with debug=3, because the patch is manly targeting to see if the call-id field in the pua structure is not set, which should be. --- Reply to this email

[sr-dev] [kamailio] Error in writing to sqlite DB (pua) when db_mode = 0 (#345)

2015-09-24 Thread sternik
Hello. I'm testing module presence with pua and pua_usrloc. Unfortunately, despite turning off (db_mode 0) writing to DB, it does. With no luck, because `db_sqlite_commit` return ERROR. Bellow logs of this operation: ``` Sep 24 12:40:18 f76fd4ccce03 kamailio[305]: DEBUG: presence [publish.c:75]: