Ok, I’ve resolved this in other way, but seems, it’s a bug in freeswitch anyway. Workaround - use uuid_record mask/unmask Regards, Igor On 27 июня 2017 г., 11:51 +0300, Igor Olhovskiy <igorolhovskiy@gmail.com>, wrote:
Hi!
I’m trying to make pause in recording via bind_digit_action record_session and stop_record_session RECORD_APPEND is set to true, format is WAV
Problem I have is when I’m listening to recording, first part is distorted completely (sounds like 44kHz is transformed to 8kHz with slowdown and not with resampling)
Recording is done via
export(nolocal:api_on_answer=uuid_record 5ae06306-70a5-4e0b-a9ca-cb44ebf0f95b start /var/lib/freeswitch/recordings/bw.1st-byte.com/archive/2017/Jun/27/5ae06306-70a5-4e0b-a9ca-cb44ebf0f95b.wav)
Than bind_digit_action(local,*2,exec:record_session,/var/lib/freeswitch/recordings/bw.1st-byte.com/archive/2017/Jun/27/5ae06306-70a5-4e0b-a9ca-cb44ebf0f95b.wav,both)
and bind_digit_action(local,*1,exec:stop_record_session,/var/lib/freeswitch/recordings/bw.1st-byte.com/archive/2017/Jun/27/5ae06306-70a5-4e0b-a9ca-cb44ebf0f95b.wav,both)
This is a full log of a call https://pastebin.com/4Nn7dhui
Freeswitch version is 1.6.18-35-6e79667~64bit
Regards, Igor