Skip to content

SIP call stream raw audio recording

SIP as Stream calls audio recording

SIP call stream can be recorded in PCM format to WAV file. This feature can be enabled using the following parameter

record_audio_processor_pcm=true

A SIP call will be recorded if:

  • transcoding is enabled on server
    disable_streaming_proxy=true
    
  • the call is redirected to a stream
  • the call stream has at least one subscriber

Any SIP calls recording

Since build 5.2.1921 any SIP calls audio recording function is restored. Audio is recording in PCM format to WAV container. This feature may be enabled with the following parameter

record=/usr/local/FlashphonerWebCallServer/records

SIP calls audio is recorded to the folder. Incoming and outgoing audio streams are recorded separately, and the files are mixed after stopping the call:

-rw-r--r-- 1 flashphoner flashphoner  176364 May 17 09:03 10006-1001-2024-05-17-09-03-08-93587a30-13f1-11ef-9124-f163a8723055-11-in.wav
-rw-r--r-- 1 flashphoner flashphoner 1073324 May 17 09:03 10006-1001-2024-05-17-09-03-08-93587a30-13f1-11ef-9124-f163a8723055-11-out.wav
-rw-r--r-- 1 flashphoner flashphoner 1073644 May 17 09:03 10006-1001-2024-05-17-09-03-08-93587a30-13f1-11ef-9124-f163a8723055-11.WAV

Where:

  • the file with -in suffix - the incoming audio record
  • the file with -out suffix - the outgoing audio record
  • the file without suffixes - the mixed recording

The setting

preserve_non_mixed_recorded_files=true

keeps incoming and outgoing files, and the setting

preserve_non_mixed_recorded_files=false

removes them and keeps only the mixed file.