Talk:Variable monitor early media ring
From FreeSWITCH Wiki
Archived from main page
monitor_early_media_ring
Monitors early media for a user specific ring tone. Each time the tone is heard, the switch will increment an internal counter for that leg. If the counter reaches monitor_early_media_ring_total (or this variable has not been set) then call will fail [if it is not answered].
The syntax is a series of ! delimited early media conditions in the following format:
condition_name:number_of_hits:tone_detect_frequencies
| condition_name |
user defined name for the error condition |
| number_of_hits |
the number of times the tone must be heard before considering it a fail |
| tone_detect_frequencies |
the frequencies to listen for (delimited by + instead of ,). See tone_detect |
NOTE: this variable only works when ignore_early_media is set to true.
Usage:
<action application="bridge" data="{ignore_early_media=true,monitor_early_media_ring_total=3,monitor_early_media_ring=us_ring:1:440.0+480.0!uk_ring:2:400+450}sofia/dial/string"/>
Boteman 01:52, 29 January 2012 (UTC)

