SIP PBX icon

SIP PBX

Media → Stop Media

AI-generated

Summary

Stop the selected media stream

Inputs

  • stopMediaTarget (required) — Selects which media identifier to stop (Media ID or Leg ID)
  • options — Configuration options for the selected target; contains a 'mediaId' field when target is Media ID or a 'legId' field when target is Leg ID

Output shape

no body — success/failure only

Returns an empty response on success; errors are propagated as standard n8n error objects.

Examples

Example 1: Stop a media stream by Media ID

set stopMediaTarget to Media ID, set mediaId to the target media identifier, leave other fields empty

Example 2: Stop a leg's media by Leg ID

set stopMediaTarget to Leg ID, set legId to the target leg identifier

Links

Discussion