From a13064101fc0588434766b5d1d340ad068534d00 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 2 May 2011 10:37:05 -0500 Subject: [PATCH] 3280 --resolve missed a spot --- src/switch_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_channel.c b/src/switch_channel.c index 37ece108a4..683b430595 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -2525,7 +2525,7 @@ SWITCH_DECLARE(void) switch_channel_set_bridge_time(switch_channel_t *channel) SWITCH_DECLARE(void) switch_channel_set_hangup_time(switch_channel_t *channel) { - if (channel->caller_profile && channel->caller_profile->times && !channel->caller_profile->times->bridged) { + if (channel->caller_profile && channel->caller_profile->times && !channel->caller_profile->times->hungup) { switch_mutex_lock(channel->profile_mutex); channel->caller_profile->times->hungup = switch_micro_time_now(); switch_mutex_unlock(channel->profile_mutex);