Skip to content

AMD()

Synopsis

Attempt to detect answering machines.

Description

This application attempts to detect answering machines at the beginning of outbound calls. Simply call this application after the call has been answered (outbound only, of course).

When loaded, AMD reads amd.conf and uses the parameters specified as default values. Those default values get overwritten when the calling AMD with parameters.

This application sets the following channel variables:

  • AMDSTATUS - This is the status of the answering machine detection

    • MACHINE

    • HUMAN

    • NOTSURE

    • HANGUP

  • AMDCAUSE - Indicates the cause that led to the conclusion

    • TOOLONG - Total Time.

    • INITIALSILENCE - Silence Duration - Initial Silence.

    • HUMAN - Silence Duration - afterGreetingSilence.

    • LONGGREETING - Voice Duration - Greeting.

    • MAXWORDLENGTH - Word Length - max length of a single word.

    • MAXWORDS - Word Count - maximum number of words.

Syntax

AMD([initialSilence,[greeting,[afterGreetingSilence,[totalAnalysis Time,[miniumWordLength,[betweenWordSilence,[maximumNumberOfWords,[silenceThreshold,[maximumWordLength,[audioFile]]]]]]]]]])
Arguments
  • initialSilence - Is maximum initial silence duration before greeting.
    If this is exceeded, the result is detection as a MACHINE

  • greeting - is the maximum length of a greeting.
    If this is exceeded, the result is detection as a MACHINE

  • afterGreetingSilence - Is the silence after detecting a greeting.
    If this is exceeded, the result is detection as a HUMAN

  • totalAnalysis Time - Is the maximum time allowed for the algorithm
    to decide on whether the audio represents a HUMAN, or a MACHINE

  • miniumWordLength - Is the minimum duration of Voice considered to be a word

  • betweenWordSilence - Is the minimum duration of silence after a word to consider the audio that follows to be a new word

  • maximumNumberOfWords - Is the maximum number of words in a greeting
    If this is exceeded, then the result is detection as a MACHINE

  • silenceThreshold - What is the average level of noise from 0 to 32767 which if not exceeded, should be considered silence?

  • maximumWordLength - Is the maximum duration of a word to accept.
    If exceeded, then the result is detection as a MACHINE

  • audioFile - Is an audio file to play to the caller while AMD is in progress.
    By default, no audio file is played.
    If an audio file is configured in amd.conf, then that file will be used if one is not specified here. That file may be overridden by this argument.

See Also

Generated Version

This documentation was generated from Asterisk branch 16 using version GIT