Skip to main content


Created by Ryan Harris, last modified by livem Chan on 2020.07.29


string 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. Once the counter reaches monitor_early_media_ring_total (or this variable has not been set) then the early media will be sent.

The syntax is a series of ! delimited early media conditions in the following format:


condition_nameuser defined name for the error condition
number_of_hitsthe number of times the tone must be heard before considering it a fail
tone_detect_frequenciesthe frequencies to listen for (delimited by + instead of ,). See tone_detect

(warning) this variable only works when ignore_early_media is set to true.


<action application="bridge" data="{monitor_early_media_ring_total=3,monitor_early_media_ring=usring:1:440.0+480.0!ukring:2:400+450}sofia/gateway/yourgateway/"/>