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.

(cherry picked from commit 16a5adf02a)
This commit is contained in:
Sean Bright
2024-09-26 12:26:04 -04:00
committed by Asterisk Development Team
parent b74cfe0edd
commit 34c418fcca
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);