Variable call timeout

From FreeSWITCH Wiki
Jump to: navigation, search

call_timeout

Controls how long (in seconds) to ring the B leg of a call when using the bridge application. The timeout is set on the A leg, and applies to any bridges that happen in the channel.

If you need to set a timeout on a call that has no A leg, use originate_timeout

If you need to set a timeout with enterprise bridging/originate, use originate_timeout

If you need to set the timeout on a per leg basis (i.e., a different timeout for each destination), use the leg_timeout variable.

Default Value: 60


Usage:

<action application="set" data="call_timeout=20"/>


Notes:

If a call timeout is to be specified against a group_call() list, use the following format:

 <action application="bridge" data="{originate_timeout=24}${group_call(sales@$${domain})}"/>


WARNING: Beware that if you are not using {ignore_early_media=true} call_timeout is no longer applicable as soon as early media signal is received.



See also:


Implemented By:

Module Name Source FileLast Revised
mod_dialplan_asteriskmod_dialplan_asterisk.c 6208
mod_dptoolsmod_dptools.c 10917
coreswitch_ivr_originate.c 9120
coreswitch_swig.c 4795