[Freeswitch-users] rtp-timeout-sec VS media_timeout

David P davidswalkabout at gmail.com
Sat Mar 13 03:15:55 UTC 2021

Using FS10.5 installed from packages on Debian Stretch...

I wanted to replicate the behavior we had with <param name="rtp-timeout-sec"
value="300"/> so that we'll hangup calls in which leg B of a conference has
sent no media for 5 mins.

I edited our dialplan like this...

<action application="conference_set_auto_outcall"

and restarted like this...

fs_cli -x 'fsctl shutdown elegant restart'

But after 8 mins in such a call there was no hangup.

---------- Forwarded message ----------
From: Dragos Oancea <dragos at freeswitch.org>
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Date: Thu, 4 Mar 2021 11:04:26 +0200
Subject: Re: [Freeswitch-users] rtp-timeout-sec VS media_timeout
For media timeout there are the following chan vars:
media_timeout, media_hold_timeout, media_timeout,
media_hold_timeout_video, media_hold_timeout_audio,

They are in milliseconds, not seconds like rtp-timeout-sec .

<param name="media_timeout" value="300000"/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20210313/c0603f36/attachment.html>

More information about the FreeSWITCH-users mailing list