1 |
When I try to register provision/register equipment to asterisk I get an error message: |
2 |
|
3 |
[Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error |
4 |
-- Registered SIP 'pstn-5665' at 10.0.0.110:5060 |
5 |
> Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-5665 |
6 |
[Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: SQL logic error |
7 |
-- Registered SIP 'pstn-1270' at 10.0.0.110:5060 |
8 |
> Saved useragent "Audiocodes-Sip-Gateway-/v.5.80A.032.003" for peer pstn-1270 |
9 |
[Dec 23 12:32:51] NOTICE[21685]: chan_sip.c:24776 handle_response_peerpoke: Peer 'pstn-5665' is now Reachable. (61ms / 2000ms) |
10 |
[Dec 23 12:32:51] WARNING[21685]: db.c:350 ast_db_put: Couldn't execute statement: attempt to write a readonly database |
11 |
-- Registered SIP '369' at 10.0.0.110:5060 |
12 |
|
13 |
/var/lib/asterisk |
14 |
-rw-r--r-- 1 root root 16384 Dec 23 12:10 astdb.sqlite3 |
15 |
|
16 |
In my old asterisk-11.25 this file has owner "asterisk:astersik" but changing the ownership of that file doesn't solve the problem, still getting the same error: |
17 |
|
18 |
ast_db_put: Couldn't execute statement: attempt to write a readonly database |