Variable monitor early media fail

From FreeSWITCH Wiki
Jump to: navigation, search

monitor_early_media_fail

Monitors early media for failure conditions, such as a busy signal. This allows faster processing of failed calls when ignoring early media.

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_fail=user_busy:2:480+620!destination_out_of_order:2:1776.7}sofia/dial/string"/>


See also:


Implemented By:

Module Name Source FileLast Revised
coreswitch_ivr_originate.c 11295