Receive a Text Message on a channel.
Waits for timeout seconds on the current channel to receive text.
Result of transmission will be stored in the following variables:
RECEIVETEXTMESSAGE- The received text message.
- SUCCESS - Transmission succeeded.
- FAILURE - Transmission failed or timed out.
timeout- Time in seconds to wait for text. Default is 0 (forever).
This documentation was imported from Asterisk Version GIT-16-3c08ce4