root@mike-deb9-129 [Wed Apr 03 10:20 PM] /usr/src/freeswitch.git
<1367>:git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
root@mike-deb9-129 [Wed Apr 03 10:20 PM] /usr/src/freeswitch.git
<1368>:git pull
Current branch master is up to date.
root@mike-deb9-129 [Wed Apr 03 10:20 PM] /usr/src/freeswitch.git
<1369>:git grep -n record_file_size src/*.c
src/switch_ivr_async.c:1498: if (file_size) switch_channel_set_variable(channel, "record_file_size", file_size);
src/switch_ivr_play_say.c:933: if (file_size) switch_channel_set_variable(channel, "record_record_file_size", file_size);
Thanks. Is that there by default? I couldn’t see it. In fs 1.6 or 1.8?
record_file_size
Nope those are not them. There are ones for recording length.
Thanks.
Hi Mike,
The only ones I see are:
rtp_audio_in_raw_bytes 163136
rtp_audio_out_raw_bytes 139664
rtp_audio_in_media_bytes 163056
rtp_audio_out_media_bytes 139664
and these are there whether record_session is set or not. So I presume
as the default file format is wav, which on the filesystem for the
above call shows as 318444 bytes, then it's the combo of in_raw and
out_raw, but that doesn't add up...
The duration of the call is 21 secs, so if it's wav I could use
https://en.wikipedia.org/wiki/WAV to work out the size as I don't want
to access the filesystem.