Skip to content

Commit 8116d68

Browse files
committed
fix(sofia.conf.xml): replace deprecated rtp-hold-timeout-sec with media_hold_timeout
1 parent b752476 commit 8116d68

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/mod/endpoints/mod_sofia/conf/sofia.conf.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -350,8 +350,8 @@
350350
<param name="ext-sip-ip" value="auto-nat"/>
351351

352352
<!-- rtp inactivity timeout -->
353-
<param name="rtp-timeout-sec" value="300"/>
354-
<param name="rtp-hold-timeout-sec" value="1800"/>
353+
<param name="media_timeout" value="300"/>
354+
<param name="media_hold_timeout" value="1800"/>
355355
<!-- VAD choose one (out is a good choice); -->
356356
<!-- <param name="vad" value="in"/> -->
357357
<!-- <param name="vad" value="out"/> -->

src/mod/endpoints/mod_sofia/test/conf/freeswitch.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
<param name="sip-ip" value="$${local_ip_v4}"/>
8383
<param name="ext-rtp-ip" value="$${local_ip_v4}"/>
8484
<param name="ext-sip-ip" value="$${local_ip_v4}"/>
85-
<param name="rtp-timeout-sec" value="300"/>
86-
<param name="rtp-hold-timeout-sec" value="1800"/>
85+
<param name="media_timeout" value="300"/>
86+
<param name="media_hold_timeout" value="1800"/>
8787
<param name="session-timeout" value="600"/>
8888
<param name="minimum-session-expires" value="90"/>
8989
<param name="tls" value="false"/>

0 commit comments

Comments
 (0)