mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Merged revisions 64193 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r64193 | murf | 2007-05-14 07:58:42 -0600 (Mon, 14 May 2007) | 1 line As per 9570, worrisome CDR warnings have been removed, that are either not helpful, or not relevant. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64208 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
14
main/pbx.c
14
main/pbx.c
@@ -5018,20 +5018,6 @@ int ast_pbx_outgoing_exten(const char *type, int format, void *data, int timeout
|
||||
ast_channel_lock(chan);
|
||||
}
|
||||
if (chan) {
|
||||
if (chan->cdr) { /* check if the channel already has a cdr record, if not give it one */
|
||||
ast_log(LOG_WARNING, "%s already has a call record??\n", chan->name);
|
||||
} else {
|
||||
chan->cdr = ast_cdr_alloc(); /* allocate a cdr for the channel */
|
||||
if (!chan->cdr) {
|
||||
/* allocation of the cdr failed */
|
||||
free(chan->pbx);
|
||||
res = -1;
|
||||
goto outgoing_exten_cleanup;
|
||||
}
|
||||
/* allocation of the cdr was successful */
|
||||
ast_cdr_init(chan->cdr, chan); /* initialize our channel's cdr */
|
||||
ast_cdr_start(chan->cdr);
|
||||
}
|
||||
if (chan->_state == AST_STATE_UP) {
|
||||
res = 0;
|
||||
if (option_verbose > 3)
|
||||
|
||||
Reference in New Issue
Block a user