Skip to content

WaitForNoise()

Synopsis

Waits for a specified amount of noise.

Description

Waits for up to noiserequired milliseconds of noise, iterations times. An optional timeout specified the number of seconds to return after, even if we do not receive the specified amount of noise. Use timeout with caution, as it may defeat the purpose of this application, which is to wait indefinitely until noise is detected on the line.

Syntax

WaitForNoise([noiserequired,[iterations,[timeout]]])
Arguments
  • noiserequired - If not specified, defaults to '1000' milliseconds.

  • iterations - If not specified, defaults to '1'.

  • timeout - Is specified only to avoid an infinite loop in cases where silence is never achieved.

See Also

Generated Version

This documentation was generated from Asterisk branch 22 using version GIT