Name

SendText() — Sends text to the channel

Synopsis

SendText(text,options)

Sends text on a channel, if text transport is supported. Upon completion, a channel variable named SENDTEXTSTATUS will be set to one of the following values:

SUCCESS

The transmission of the text was successful.

FAILURE

The transmission of the text failed.

NOSUPPORT

The underlying channel does not support the transmission of text.

If the options parameter is set to j and the channel does not support text transport, and there exists a priority n+101 (where n is the current priority), execution will continue at that step.

exten => 123,1,SendText(Welcome to Asterisk)

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.