mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user