mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
FSCORE-268
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11186 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
796947ca46
commit
0ae2abd374
2 files changed
+5
-5
No files matched your search
@@ -2270,16 +2270,16 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_timestamps(switch_channel_t *
|
||||
tt_progress = (time_t) (caller_profile->times->progress / 1000000);
|
||||
mtt_progress = (time_t) (caller_profile->times->progress / 1000);
|
||||
switch_snprintf(tmp, sizeof(tmp), "%" TIME_T_FMT, tt_progress);
|
||||
switch_channel_set_variable(channel, "answer_epoch", tmp);
|
||||
switch_channel_set_variable(channel, "progress_epoch", tmp);
|
||||
switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, caller_profile->times->progress);
|
||||
switch_channel_set_variable(channel, "answer_uepoch", tmp);
|
||||
switch_channel_set_variable(channel, "progress_uepoch", tmp);
|
||||
|
||||
tt_progress_media = (time_t) (caller_profile->times->progress_media / 1000000);
|
||||
mtt_progress_media = (time_t) (caller_profile->times->progress_media / 1000);
|
||||
switch_snprintf(tmp, sizeof(tmp), "%" TIME_T_FMT, tt_progress_media);
|
||||
switch_channel_set_variable(channel, "answer_epoch", tmp);
|
||||
switch_channel_set_variable(channel, "progress_media_epoch", tmp);
|
||||
switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, caller_profile->times->progress_media);
|
||||
switch_channel_set_variable(channel, "answer_uepoch", tmp);
|
||||
switch_channel_set_variable(channel, "progress_media_uepoch", tmp);
|
||||
|
||||
|
||||
tt_hungup = (time_t) (caller_profile->times->hungup / 1000000);
|
||||
|
||||
Reference in new issue
Block a user