diff options
author | Steve Murphy <murf@digium.com> | 2007-05-14 14:13:45 +0000 |
---|---|---|
committer | Steve Murphy <murf@digium.com> | 2007-05-14 14:13:45 +0000 |
commit | a76ff39c0ef54f8f4b81348e2d32c5b91222b81a (patch) | |
tree | 9f4c3429c50d7a4ec110f77f39cc4cee1fe613bb /main/pbx.c | |
parent | 78d3244554451837b32f3c83675eaa9449905136 (diff) |
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
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/main/pbx.c b/main/pbx.c index 9b2d9cc31..c294501a9 100644 --- a/main/pbx.c +++ b/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) |