Skip to end of metadata
Go to start of metadata

ReceiveText()

Synopsis

Receive a Text Message on a channel.

Description

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.
  • RECEIVETEXTSTATUS
    • SUCCESS - Transmission succeeded.
    • FAILURE - Transmission failed or timed out.
      Example: Receive message on channel

      Syntax

ReceiveText([timeout])
Arguments
  • timeout - Time in seconds to wait for text. Default is 0 (forever).

See Also

Import Version

This documentation was imported from Asterisk Version GIT-16-3c08ce4

  • No labels