Skip to content

RECEIVE CHAR

Synopsis

Receives one character from channels supporting it.

Description

Receives a character of text on a channel. Most channels do not support the reception of text. Returns the decimal value of the character if one is received, or '0' if the channel does not support text reception. Returns '-1' only on error/hangup.

Syntax

RECEIVE CHAR TIMEOUT 
Arguments
  • timeout - The maximum time to wait for input in milliseconds, or '0' for infinite. Most channels

See Also

Generated Version

This documentation was generated from Asterisk branch certified/20.7 using version GIT