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
After playing a while (replace api_on_answer with execute_on_answer) got situation when 2nd part of conversation (after a pause) used as a first part also. So, I have 2 second parts in conversation. Quite strange. 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
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
I just stop the recording and start it again with the append flag set, works for me all the time. On Tue, 27 Jun 2017 06:52:34 -0400, Igor Olhovskiy wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; utf-8 (quoted-printable)>] [1.2 <text/html; utf-8 (quoted-printable)>] 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
[2 <text/plain; utf-8 (base64)>] _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
If you think it's a bug please open a JIRA for it.. On Tue, Jun 27, 2017 at 9:19 AM, John Covici <covici@ccs.covici.com> wrote:
I just stop the recording and start it again with the append flag set, works for me all the time.
On Tue, 27 Jun 2017 06:52:34 -0400, Igor Olhovskiy wrote:
[1 <multipart/alternative (7bit)>] [1.1 <text/plain; utf-8 (quoted-printable)>] [1.2 <text/html; utf-8 (quoted-printable)>] 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
[2 <text/plain; utf-8 (base64)>] ____________________________________________________________
_____________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Ítalo Rossi italo@freeswitch.org
participants (3)
-
Igor Olhovskiy
-
John Covici
-
Ítalo Rossi