Actions8
- Call Actions
- Registration Actions
- Message Actions
Message → Send Message
AI-generatedSummary
Send a SIP MESSAGE to a specified target SIP URI with custom content and content type.
Inputs
- Target URI (required) — The SIP URI to which the message will be sent (e.g., sip:user@domain.com).
- Message Content (required) — The textual content of the SIP message to send.
- Content Type — The MIME type of the message content, such as 'text/plain', 'application/json', or 'application/xml'. Defaults to 'text/plain'.
- Additional Options — Optional parameters including timeout in seconds, auto answer flag, call recording, and one or more custom SIP headers.
Output shape
a single JSON object representing the result of the send operation
The output includes a success boolean, a confirmation message, and details such as target URI, content, content type, sender URI, and timestamp of when the message was sent. If sending fails, an error with a descriptive message is returned.
Examples
Example 1: Send a plain text SIP MESSAGE to a user
Set 'Target URI' to 'sip:alice@example.com', 'Message Content' to 'Hello, this is a test message.', and leave 'Content Type' as 'text/plain'. Optionally customize headers or timeout as needed.