From: Anthony Minessale Date: Mon, 25 Nov 2013 22:09:12 +0000 (-0600) Subject: FS-4965 calling the variable playback_last_offset_pos instead X-Git-Tag: v1.4.1~2^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f52f30021dd2d74812427c1e724e076748d2c9;p=thirdparty%2Ffreeswitch.git FS-4965 calling the variable playback_last_offset_pos instead --- diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 3d7894ff74..1d44342ca3 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1721,6 +1721,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);