diff options
Diffstat (limited to 'cdr/cdr_custom.c')
-rw-r--r-- | cdr/cdr_custom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c index c045241d9..0a88f3d65 100644 --- a/cdr/cdr_custom.c +++ b/cdr/cdr_custom.c @@ -124,7 +124,7 @@ static int custom_log(struct ast_cdr *cdr) return -1; } - dummy = ast_channel_alloc(0, 0, "", "", "", "", "", 0, "Substitution/%p", cdr); + dummy = ast_dummy_channel_alloc(); if (!dummy) { ast_log(LOG_ERROR, "Unable to allocate channel for variable subsitution.\n"); |