Actions76
- Applications Actions
- Asterisk Actions
- Bridges Actions
- Channels Actions
- Device States Actions
- Endpoints Actions
- Events Actions
- Mailboxes Actions
- Playbacks Actions
- Recordings Actions
- Sounds Actions
Endpoints → Send Message
AI-generatedOverview
This node interacts with the Asterisk PBX system via the Asterisk REST Interface (ARI) to send messages to specified endpoints. It is useful in telephony automation scenarios where you need to programmatically send text messages between endpoints within the Asterisk system. For example, sending a notification message from one SIP endpoint to another.
Use Case Examples
- Sending a text message from endpoint PJSIP/2000 to PJSIP/1000 with a custom message body.
- Setting variables on the message to pass additional context or metadata.
Properties
| Name | Meaning |
|---|---|
| To | The endpoint URI or technology URI to send the message to. |
| From | The endpoint URI or technology URI to send the message from. |
| Body | The text content of the message to be sent. |
| Additional Fields | Optional additional fields for the message, including variables to set on the message. |
Output
JSON
messageId- Identifier of the sent messagestatus- Status of the message sending operationto- The endpoint URI the message was sent tofrom- The endpoint URI the message was sent frombody- The content of the sent messagevariables- Any variables set on the message
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 'To' and 'From' endpoint URIs are correctly formatted and exist in the Asterisk system.
- Verify that the API credentials are valid and have sufficient permissions to send messages.
- Check network connectivity to the Asterisk ARI endpoint URL.
- If message sending fails, check the error response for details such as invalid endpoint or message body issues.
Links
- Asterisk REST Interface (ARI) Documentation - Official documentation for the Asterisk REST Interface used by this node.