FS, Add Opus codec on outgoing profile
This commit is contained in:
parent
122acc3d7e
commit
b16e3e3b0b
4 changed files with 24 additions and 3 deletions
|
@ -95,7 +95,7 @@
|
||||||
<!--<load module="mod_siren"/>-->
|
<!--<load module="mod_siren"/>-->
|
||||||
<!--<load module="mod_isac"/>-->
|
<!--<load module="mod_isac"/>-->
|
||||||
<!--<load module="mod_celt"/>-->
|
<!--<load module="mod_celt"/>-->
|
||||||
<!--<load module="mod_opus"/>-->
|
<load module="mod_opus"/>
|
||||||
|
|
||||||
<!-- File Format Interfaces -->
|
<!-- File Format Interfaces -->
|
||||||
<load module="mod_sndfile"/>
|
<load module="mod_sndfile"/>
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
<configuration name="opus.conf">
|
||||||
|
<settings>
|
||||||
|
<param name="use-vbr" value="1"/>
|
||||||
|
<param name="use-dtx" value="1"/>
|
||||||
|
<!-- 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="maxaveragebitrate" value="14000"/>
|
||||||
|
<param name="maxplaybackrate" value="8000"/>
|
||||||
|
<param name="sprop-maxcapturerate" value="8000"/>
|
||||||
|
<param name="adjust-bitrate" value="1"/>
|
||||||
|
<param name="advertise-useinbandfec" value="1"/>
|
||||||
|
</settings>
|
||||||
|
</configuration>
|
|
@ -29,8 +29,8 @@
|
||||||
<param name="dialplan" value="XML"/>
|
<param name="dialplan" value="XML"/>
|
||||||
<param name="context" value="public"/>
|
<param name="context" value="public"/>
|
||||||
<param name="dtmf-duration" value="2000"/>
|
<param name="dtmf-duration" value="2000"/>
|
||||||
<param name="inbound-codec-prefs" value="G729,PCMA,PCMU"/>
|
<param name="inbound-codec-prefs" value="OPUS@8000h@20i,G729,PCMA,PCMU"/>
|
||||||
<param name="outbound-codec-prefs" value="G729,PCMA,PCMU"/>
|
<param name="outbound-codec-prefs" value="OPUS@8000h@20i,G729,PCMA,PCMU"/>
|
||||||
<!--<param name="hold-music" value="$${hold_music}"/>-->
|
<!--<param name="hold-music" value="$${hold_music}"/>-->
|
||||||
<param name="rtp-timer-name" value="soft"/>
|
<param name="rtp-timer-name" value="soft"/>
|
||||||
<!--<param name="enable-100rel" value="true"/>-->
|
<!--<param name="enable-100rel" value="true"/>-->
|
||||||
|
|
|
@ -72,6 +72,12 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
|
||||||
require => Class['rhizo_base::apt'],
|
require => Class['rhizo_base::apt'],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
package {
|
||||||
|
[ 'freeswitch-mod-opus' ]:
|
||||||
|
ensure => installed,
|
||||||
|
require => Class['rhizo_base::apt'],
|
||||||
|
}
|
||||||
|
|
||||||
file { '/etc/default/freeswitch':
|
file { '/etc/default/freeswitch':
|
||||||
source => 'puppet:///modules/rhizo_base/etc/default/freeswitch',
|
source => 'puppet:///modules/rhizo_base/etc/default/freeswitch',
|
||||||
require => Package['freeswitch'],
|
require => Package['freeswitch'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue