Re: cdr_sqlite3

Fourhundred Thecat <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <[email protected]>
 > 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 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,

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.