several changes via kpflemings review

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@59522 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2007-03-30 17:51:17 +00:00
parent 9c69e34f62
commit 798039b4d8
5 changed files with 131 additions and 105 deletions

View File

@@ -4924,11 +4924,6 @@ static int ast_pbx_outgoing_cdr_failed(void)
if (!chan)
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 */