]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-3280 --resolve doh
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 29 Apr 2011 17:37:30 +0000 (12:37 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 29 Apr 2011 17:37:36 +0000 (12:37 -0500)
src/switch_channel.c

index 5b1d06ce33f1ceef4c0e36cdbd813c691fb79756..37ece108a4bbbab6982952cfe21f3a531f3425e0 100644 (file)
@@ -2527,7 +2527,7 @@ 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) {
                switch_mutex_lock(channel->profile_mutex);
-               channel->caller_profile->times->bridged = switch_micro_time_now();
+               channel->caller_profile->times->hungup = switch_micro_time_now();
                switch_mutex_unlock(channel->profile_mutex);
        }
 }