SIP PBX icon

SIP PBX

Media → Play Audio

AI-generated

Summary

Play a media file or stream to a SIP PBX leg.

Inputs

  • sourceType (required) — Type of audio source to play: binary, file, or HTTP.
  • binaryProperty — Name of the binary property in the item containing the audio data.
  • filePath (required) — Absolute or relative file path on the n8n host.
  • playbackHttpUrl (required) — HTTP or HTTPS URL of the audio file.
  • playbackHttpAuthentication — Authentication method for HTTP sources.
  • playbackHttpNodeCredentialType (required) — Credential type selector when using predefined credentials.
  • playbackHttpGenericAuthType (required) — Credential type selector for generic authentication.
  • interruptOn — Method to interrupt ongoing playback (dtmf or voice).
  • legId — Identifier of the media leg to use.
  • stopOtherMedia — Whether to stop other active media on the same leg before playing.
  • duckingFactor — Gain adjustment for ducking behavior.
  • mediaExecutionMode — Execution mode: blocking or background.
  • voiceThreshold — Voice detection threshold.
  • voiceDurationMs — Minimum voice duration in milliseconds.
  • playbackHttpMethod — HTTP method for HTTP source requests.
  • playbackHttpHeaders — HTTP headers to send with HTTP requests.

Output shape

no body — success/failure only

The node returns nothing on success; errors are propagated as standard n8n execution errors.

Examples

Example 1: Play a welcome message before a call

Source Type: File; File Path: /var/lib/n8n/audio/welcome.wav; Execution Mode: blocking; Interrupt On: disabled

Links

Discussion