diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_dial.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index ecf09e868..4739e1692 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -1468,6 +1468,10 @@ static void end_bridge_callback(void *data) time_t end; struct ast_channel *chan = data; + if (!chan->cdr) { + return; + } + time(&end); ast_channel_lock(chan); |