[Freeswitch-branches] [commit] r11452 - freeswitch/branches/1.0/src
Author: mikej Date: Thu Jan 22 19:06:13 2009 New Revision: 11452 Log: core: fix incorrect call progress timestamps in timetable (r:11186-11187/FSCORE-268) Modified: freeswitch/branches/1.0/src/switch_channel.c Modified: freeswitch/branches/1.0/src/switch_channel.c ============================================================================== --- freeswitch/branches/1.0/src/switch_channel.c (original) +++ freeswitch/branches/1.0/src/switch_channel.c Thu Jan 22 19:06:13 2009 @@ -2270,16 +2270,16 @@ 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);
participants (1)
-
FreeSWITCH SVN