summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main/pbx.c b/main/pbx.c
index d8aef64df..2ce76054d 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -4940,11 +4940,6 @@ static int ast_pbx_outgoing_cdr_failed(void)
return -1; /* failure */
if (!chan->cdr) {
- chan->cdr = ast_cdr_alloc(); /* allocate a cdr for the channel */
- ast_log(LOG_NOTICE, "=====PBX_OUTGOING_CDR_FAILED ALLOCS CHANNEL CDR for %s\n", chan->name);
- }
-
- if (!chan->cdr) {
/* allocation of the cdr failed */
ast_channel_free(chan); /* free the channel */
return -1; /* return failure */