Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Channels → Mute

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI) to manage channels, specifically to mute a channel. It allows users to mute the audio direction of a specified channel, which can be useful in call management scenarios such as silencing a participant in a conference or call without disconnecting them.

Use Case Examples

  1. Muting the audio of an incoming call channel to prevent the caller from being heard.
  2. Muting the outgoing audio of a channel to silence the call recipient temporarily.
  3. Muting both directions of a channel to completely silence the call for both parties.

Properties

Name Meaning
Channel ID The unique identifier of the channel to be muted.
Direction Specifies which audio direction to mute: incoming, outgoing, or both.

Output

JSON

  • channelId - The unique identifier of the muted channel.
  • direction - The direction of audio that was muted (in, out, or both).
  • status - The result status of the mute operation, indicating success or failure.

Dependencies

  • Requires an API key credential for authenticating with the Asterisk REST Interface (ARI).

Troubleshooting

  • Ensure the Channel ID provided is correct and corresponds to an active channel in the Asterisk system.
  • Verify that the API credentials are valid and have sufficient permissions to mute channels.
  • Check network connectivity to the Asterisk server to avoid request timeouts or connection errors.
  • If the mute operation fails, review the error message returned by the ARI for specific details, such as invalid direction values or channel state issues.

Links

Discussion