aboutsummaryrefslogtreecommitdiffstats
path: root/main/pbx.c
diff options
context:
space:
mode:
authormurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-30 17:51:17 +0000
committermurf <murf@f38db490-d61c-443f-a65b-d21fe96a405b>2007-03-30 17:51:17 +0000
commitf81c7dab7fbfa831813185130c7d013d366a3917 (patch)
tree6c1b9b9732efb82702360095591d99dc11c3cd93 /main/pbx.c
parent3bbd029dc1830cd9c95e80d40b94b497e8eb03ce (diff)
several changes via kpflemings review
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@59522 f38db490-d61c-443f-a65b-d21fe96a405b
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 e8dbb491e..beb69081f 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -4925,11 +4925,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 */