Variable tone detect hits

From FreeSWITCH Wiki

Jump to: navigation, search

tone_detect_hits

Specifies the number of "hits" that the tone_detect app needs to see before considering a positive detection. This represents the new, preferred behavior for using tone_detect. However, the older method will still work.

Usage:

<action application="set" data="execute_on_tone_detect=found_my_tone=true"/>
<action application="set" data="tone_detect_hits=2"/>
<action application="set" data="execute_on_media=tone_detect mytone 820 w +30000"/>


See also:

Implemented By:

Module Name Source File Last Updated
mod_dptools mod_dptools.c April 4, 2011
Personal tools

Community
Support FreeSWITCH