Merge pull request #15876 from ramonlsouza/bp15766

Update FreeSWITCH settings for improved audio (2.5)
This commit is contained in:
Ramón Souza 2022-10-20 14:44:27 -03:00 committed by GitHub
commit 23ce309edf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 40 additions and 26 deletions

View File

@ -39,7 +39,7 @@
<!-- Domain (for presence) -->
<param name="domain" value="$${domain}"/>
<!-- Sample Rate-->
<param name="rate" value="8000"/>
<param name="rate" value="48000"/>
<!-- Number of milliseconds per frame -->
<param name="interval" value="20"/>
<!-- Energy level required for audio to be sent to the other users -->
@ -277,4 +277,3 @@
</profile>
</profiles>
</configuration>

View File

@ -1,12 +1,16 @@
<configuration name="opus.conf">
<settings>
<param name="use-vbr" value="1"/>
<param name="use-dtx" value="0"/>
<param name="complexity" value="5"/>
<param name="packet-loss-percent" value="15"/>
<param name="keep-fec-enabled" value="1"/>
<param name="use-jb-lookahead" value="1"/>
<param name="advertise-useinbandfec" value="1"/>
</settings>
<settings>
<param name="use-vbr" value="1" />
<param name="use-dtx" value="0" />
<param name="complexity" value="10" />
<param name="packet-loss-percent" value="15" />
<param name="keep-fec-enabled" value="1" />
<param name="use-jb-lookahead" value="1" />
<param name="advertise-useinbandfec" value="1" />
<param name="maxaveragebitrate" value="64000" />
<param name="maxplaybackrate" value="48000" />
<param name="sprop-maxcapturerate" value="48000" />
<param name="adjust-bitrate" value="1" />
<param name="negotiate-bitrate" value="1" />
</settings>
</configuration>

View File

@ -1,19 +1,26 @@
<include>
<extension name="bbb_conferences_ws">
<condition field="${bbb_authorized}" expression="true" break="on-false"/>
<condition field="${sip_via_protocol}" expression="^wss?$"/>
<extension name="bbb_conferences_ws">
<condition field="${bbb_authorized}" expression="true" break="on-false" />
<condition field="${sip_via_protocol}" expression="^wss?$" />
<condition field="destination_number" expression="^(\d{5,11})$">
<action application="jitterbuffer" data="120"/>
<action application="answer"/>
<action application="conference" data="$1@cdquality"/>
<action application="set" data="jitterbuffer_msec=60:120" />
<action application="set" data="rtp_jitter_buffer_plc=true" />
<action application="set" data="rtp_jitter_buffer_during_bridge=true" />
<action application="set" data="suppress_cng=true" />
<action application="answer" />
<action application="conference" data="$1@cdquality" />
</condition>
</extension>
<extension name="bbb_conferences">
<condition field="${bbb_authorized}" expression="true" break="on-false"/>
</extension>
<extension name="bbb_conferences">
<condition field="${bbb_authorized}" expression="true" break="on-false" />
<condition field="destination_number" expression="^(\d{5,11})$">
<action application="jitterbuffer" data="120"/>
<action application="answer"/>
<action application="conference" data="$1@cdquality"/>
<action application="set" data="jitterbuffer_msec=60:120" />
<action application="set" data="rtp_jitter_buffer_plc=true" />
<action application="set" data="rtp_jitter_buffer_during_bridge=true" />
<action application="set" data="suppress_cng=true" />
<action application="answer" />
<action application="conference" data="$1@cdquality" />
</condition>
</extension>
</extension>
</include>

View File

@ -2,9 +2,13 @@
<extension name="ECHO_TO_CONFERENCE">
<condition field="${bbb_from_echo}" expression="true" break="on-false"/>
<condition field="destination_number" expression="^(ECHO_TO_CONFERENCE)$">
<action application="jitterbuffer" data="120"/>
<action application="set" data="jitterbuffer_msec=60:120" />
<action application="set" data="rtp_jitter_buffer_plc=true" />
<action application="set" data="rtp_jitter_buffer_during_bridge=true" />
<action application="set" data="suppress_cng=true" />
<action application="answer"/>
<action application="conference" data="${vbridge}@cdquality"/>
</condition>
</extension>
</include>