New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in writing to sqlite DB (pua) when db_mode = 0 #345
Comments
Can you try with the patch from commit ad552d4 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. |
It seems that callid is empty. Output after applying patch:
|
just to chime in on this ticket, I am also seeing this same behaviour. Kamailio version:
Sample log message:
|
Hi Daniel! have the same errors in logs (as in first post) in kamailio-4.2.5 Added the check for "from_tag", now my test code looks like:
testing this I get rid of initial errors, now the log looks like:
Now, as I understood, the suggested patch, is not for release usage? Cheers! |
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. |
Hi Daniel! |
Last patch on pua module - 3331bf3e0b81366f21a7eccf19cfc650e721fb95 |
- sqlite connector doesn't like null pointer for not null costraint - reported by GH #345
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:My pua configuration:
pua_usrloc:
presence:
The text was updated successfully, but these errors were encountered: