Skip to content

ReceiveSF()

Synopsis

Detects SF digits on a channel and saves them to a variable.

Since

16.24.0, 18.10.0, 19.2.0

Description

Reads SF digits from the user in to the given variable.

This application does not automatically answer the channel and should be preceded with 'Answer' or 'Progress' as needed.

  • RECEIVESFSTATUS - This is the status of the read operation.

    • START

    • ERROR

    • HANGUP

    • MAXDIGITS

    • TIMEOUT

Syntax

ReceiveSF(variable,[digits,[timeout,[frequency,[options]]]])
Arguments
  • variable - The input digits will be stored in the given variable name.

  • digits - Maximum number of digits to read. Default is unlimited.

  • timeout - The number of seconds to wait for all digits, if greater than '0'. Can be floating point. Default is no timeout.

  • frequency - The frequency for which to detect pulsed digits. Default is 2600 Hz.

  • options

    • d - Delay audio by a frame to try to extra quelch.

    • e - Allow receiving extra pulses 11 through 16.

    • m - Mute conference.

    • q - Quelch SF from in-band.

    • r - "Radio" mode (relaxed SF).

See Also

Generated Version

This documentation was generated from Asterisk branch 16 using version GIT