search for: cdrlogdir

Displaying 3 results from an estimated 3 matches for "cdrlogdir".

2023 Mar 28
1
cdr_sqlite3
.... 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 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 ? Can this be done easily by patching few lines somewhere? thanks,
2023 Mar 04
2
cdr_sqlite3
On Sat, Mar 4, 2023 at 1:29 PM, Fourhundred Thecat <400thecat at gmx.ch> wrote: > /var/log/asterisk/master.db > > how can I change the location ? > > If this is not possible to change in the config file, where in the > source code would I change that? cdr/cdr_sqlite3_custom.c line 311 Kind regards, Sean -------------- next part -------------- An HTML attachment was
2023 Mar 28
1
cdr_sqlite3
...uot;. > > I need to change this location without affecting the rest of the > asterisk logs. > > Sean Bright suggested 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 wil...