Actions76
- Applications Actions
- Asterisk Actions
- Bridges Actions
- Channels Actions
- Device States Actions
- Endpoints Actions
- Events Actions
- Mailboxes Actions
- Playbacks Actions
- Recordings Actions
- Sounds Actions
Applications → Subscribe
AI-generatedOverview
This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI). Specifically, for the 'Applications' resource and 'Subscribe' operation, it allows users to subscribe to events from a specified Stasis application and event source URI. This is useful for monitoring and reacting to real-time events in telephony applications, such as channel or bridge state changes, device states, or endpoint activities.
Use Case Examples
- Subscribe to events from a specific Stasis application to monitor call channel activities in real-time.
- Subscribe to device state changes for a particular device to trigger automated workflows based on device availability.
Properties
| Name | Meaning |
|---|---|
| Application Name | The name of the Stasis application to subscribe to events from. |
| Event Source | The URI of the event source to subscribe to, such as a channel, bridge, endpoint, or device state. |
Output
JSON
event- The event data received from the subscribed application and event source.
Dependencies
- Requires an API key credential for authenticating with the Asterisk REST Interface (ARI).
Troubleshooting
- Ensure the 'Application Name' matches an existing Stasis application configured in Asterisk.
- Verify the 'Event Source' URI is correctly formatted and corresponds to a valid event source in Asterisk.
- Authentication errors may occur if the API key credential is missing or invalid; verify credentials are correctly configured.
- Network connectivity issues between n8n and the Asterisk server can prevent event subscription; check network settings and firewall rules.
Links
- Asterisk ARI Applications - Official documentation on managing Stasis applications in Asterisk ARI.
- Asterisk ARI Event Sources - Details on event source URIs and event subscription in Asterisk ARI.