cdr_custom: Allow absolute filenames.

A follow up to #893 that brings the same functionality to
cdr_custom. Also update the sample configuration files to note support
for absolute paths.
This commit is contained in:
Sean Bright
2024-09-26 12:26:04 -04:00
parent 7c982de5c6
commit 084c04f711
4 changed files with 17 additions and 5 deletions

View File

@@ -43,8 +43,7 @@
#include "asterisk/threadstorage.h"
#include "asterisk/strings.h"
#define CUSTOM_LOG_DIR "/cel_custom"
#define CONFIG "cel_custom.conf"
#define CONFIG "cel_custom.conf"
AST_THREADSTORAGE(custom_buf);