Displaying 2 results from an estimated 2 matches for "f8331df57aacdd06b6d391dfec2f59c6".
2023 Mar 28
1
cdr_sqlite3
...sted to patch cdr/cdr_sqlite3_custom.c
>
> But I cannot hard-code the path either.
>
> How could I create new custom configuration variable, perhaps
> "cdrlogdir", that I could then assign in asterisk.conf ?
Something like the following:
https://gist.github.com/seanbright/f8331df57aacdd06b6d391dfec2f59c6
This adds a new 'filename' option that you would provide in
/etc/asterisk/cdr_sqlite3_custom.conf like:
[master]
; A non-absolute path will be relative to Asterisk's log
; directory
filename = testing.db
Or:
[master]
filename = /full/path/to/testing.db
This patch does not support m...
2023 Mar 28
1
cdr_sqlite3
> On 2023-03-04 23:11, Sean Bright wrote:
>
> cdr/cdr_sqlite3_custom.c line 311
Hello,
I asked here recently how to change the location where
"cdr_sqlite3_custom" stores the sqlite database. The default is location
is "astlogdir".
I need to change this location without affecting the rest of the
asterisk logs.
Sean Bright suggested to patch