From 0846195cd9b69e71cbab6f56129f075a1e607fb5 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 25 Nov 2013 16:09:12 -0600 Subject: [PATCH] FS-4965 calling the variable playback_last_offset_pos instead --- src/switch_ivr_play_say.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index f98b8f77de..a7a658e162 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1720,6 +1720,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_play_file(switch_core_session_t *sess } switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "done playing file %s\n", file); + switch_channel_set_variable_printf(channel, "playback_last_offset_pos", "%d", fh->offset_pos); if (read_impl.samples_per_second) { switch_channel_set_variable_printf(channel, "playback_seconds", "%d", fh->samples_in / fh->native_rate);