FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unlock the telecommunications potential of any device.
Describe the bug
Play a certain wav file makes the following record operation fail.
To Reproduce
1 play a wav file (format: 16000Hz 16bit mono Signed Integer PCM)
2 record for several seconds
3 press # to interrup the record
4 record for several seconds (RECORD_APPEND=true , record to same file as in step 2)
5 hangup
now playback the record file ,you will find the second phase of the record is lost.
Expected behavior
the record file should contain full record phase data.
Package version or git hash
Version [1.10.8-dev]
Centos 7.9 x64 (this only happens on centos7.9. it's ok on ubuntu18.4)
Is the RECORD_DISCARDED chan var being set after the 2nd record ? It might remove the recording for being too short (< 3 seconds) . You can try set chan var RECORD_MIN_SEC=1 before recording.
Describe the bug Play a certain wav file makes the following record operation fail.
To Reproduce
1 play a wav file (format: 16000Hz 16bit mono Signed Integer PCM) 2 record for several seconds 3 press # to interrup the record 4 record for several seconds (RECORD_APPEND=true , record to same file as in step 2) 5 hangup
now playback the record file ,you will find the second phase of the record is lost.
Expected behavior the record file should contain full record phase data.
Package version or git hash
dialplan :
wait.wav file is attached below as wait.zip. wait.zip