Stereo call recordings

Dast

Member
Nov 11, 2019
74
12
8
I am trying to get stereo call recordings, where each parties audio is in a separate channel of the recording.

I added `set RECORD_STEREO=true` to my dialplan (in the `domain-variables` rule) which has not made a difference, call recordings are still saved as mono channel.
What am I missing?
 
Hi.
I`m use this option when you want stereo call recording only for specific call flows, such as:

External calls only
Inbound or outbound calls
Call center calls
Compliance or AI analysis scenarios

** Step-by-Step (FusionPBX)

Go to Dialplan → Dialplans
Open the dialplan you want to modify (for example: inbound or outbound dialplan)
Before the bridge action, add the following actions:

<action application="set" data="RECORD_STEREO=true"/>
<action application="set" data="RECORD_SAMPLE_RATE=8000"/>
<action application="set" data="media_bug_answer_req=true"/>
<action application="set" data="recording_follow_transfer=true"/>


Make sure the record_session action is placed after the variables above:
<action application="record_session"
data="/var/lib/freeswitch/recordings/${domain_name}/${uuid}.wav"/>


Save the dialplan
Click Reload XML (or restart FreeSWITCH if required)
 

Attachments

  • record.PNG
    record.PNG
    7.8 KB · Views: 1
Thanks for the reply.

After searching the latest fusion source, I see there are some commits regarding stereo recordings that I am missing.
I will work towards upgrading to the latest version, which should ultimately solve this issue for me.
In the meantime, I have added the `record_stereo=true` to the user_record dialplan, and the dialplan for each DID. This has resolved the issue for now.

Consider this solved/closed. ty
 
  • Like
Reactions: markjcrane