SIP PBX icon

SIP PBX

Respond → Respond to recording

AI-generated

Summary

Start recording the active call leg and save to a file.

Inputs

  • active — When enabled, starts global recording for the active leg; when disabled, the action returns without starting recording.
  • recordFilePath (required) — Final absolute or relative output file path on the n8n host; template variables are not allowed.
  • recordFileFormat — Audio format for the recording; one of WAV, MP3, Opus, OGG.
  • recordSplitChannels — When enabled, inbound audio is written to channel 1 and outbound PBX audio to channel 2.
  • waitForRecordingCompletion — When enabled, the workflow waits until recording finishes before proceeding.
  • options — Collection of additional per-format configuration options (e.g., request ID, sample rate, bit depth) that vary by selected format.

Output shape

no body — success/failure only

Recording runs asynchronously; the file is written to the specified path; the operation returns an empty acknowledgment.

Examples

Example 1: Record an active call and store as WAV

active=true, recordFilePath=recordings/call-123.wav, recordFileFormat=wav

Example 2: Record call with split channels in MP3

active=true, recordFilePath=recordings/call-456.wav, recordFileFormat=mp3, recordSplitChannels=true, options={}

Links

Discussion