Asterisk icon

Asterisk

Interact with Asterisk PBX via ARI (Asterisk REST Interface)

Mailboxes → Update

AI-generated

Overview

This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI) to manage voicemail mailboxes. Specifically, the 'Update' operation for the 'Mailboxes' resource allows users to update the counts of old and new messages in a specified mailbox. This is useful for maintaining accurate voicemail message counts in telephony systems integrated with Asterisk.

Use Case Examples

  1. Updating the message counts for a user's voicemail mailbox after processing messages.
  2. Synchronizing mailbox message counts between Asterisk and an external system.

Properties

Name Meaning
Mailbox Name The name of the mailbox to update, e.g., '1000@default'.
Old Messages The count of old messages currently in the mailbox.
New Messages The count of new messages currently in the mailbox.

Output

JSON

  • mailboxName - The name of the mailbox that was updated.
  • oldMessages - The updated count of old messages in the mailbox.
  • newMessages - The updated count of new messages in the mailbox.

Dependencies

  • Requires an API key credential for authenticating with the Asterisk REST Interface (ARI).
  • Needs the base URL of the Asterisk ARI endpoint configured in credentials.

Troubleshooting

  • Ensure the mailbox name is correctly specified and exists in the Asterisk system to avoid errors.
  • Verify that the API credentials and base URL are correctly configured to prevent authentication failures.
  • Check that the counts for old and new messages are valid numbers; invalid inputs may cause the update to fail.

Links

Discussion