Send Text

Since 0.4.0 AGI Commands Found this useful? Upvote it. ×

Sends text to channels supporting it.

Last reviewed 2026-04-14

send text text to send
Description

Sends the given text on a channel. Most channels do not support the transmission of text. Returns 0 if text is sent, or if the channel does not support text transmission. Returns -1 only on error/hangup.

Arguments
  • text to send required - Text consisting of greater than one word should be placed in quotes since the command only accepts a single argument.
User Notes

Know a tip or gotcha for this topic? Share it below and help others.

Contribute a note

Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.

Moderated before publishing. Email never shown.