mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
cdr update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6916 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -957,11 +957,13 @@ SWITCH_DECLARE(void) switch_channel_set_caller_profile(switch_channel_t *channel
|
||||
}
|
||||
|
||||
caller_profile->times = (switch_channel_timetable_t *) switch_core_session_alloc(channel->session, sizeof(*caller_profile->times));
|
||||
caller_profile->times->created = switch_time_now();
|
||||
caller_profile->times->profile_created = switch_time_now();
|
||||
|
||||
if (channel->caller_profile && channel->caller_profile->times) {
|
||||
channel->caller_profile->times->transferred = caller_profile->times->created;
|
||||
channel->caller_profile->times->transferred = caller_profile->times->profile_created;
|
||||
caller_profile->times->answered = channel->caller_profile->times->answered;
|
||||
caller_profile->times->created = channel->caller_profile->times->created;
|
||||
caller_profile->times->hungup = channel->caller_profile->times->hungup;
|
||||
}
|
||||
|
||||
caller_profile->next = channel->caller_profile;
|
||||
|
Reference in New Issue
Block a user