Debian, AMR
Add amr modules to debian. this one supports a param to force into octet-align mode. In the future we might do something with the config template.
This commit is contained in:
parent
8b72d7087b
commit
33d8ed6154
3 changed files with 28 additions and 0 deletions
BIN
modules/rhizo_base/files/mod_amr.so
Normal file
BIN
modules/rhizo_base/files/mod_amr.so
Normal file
Binary file not shown.
|
@ -63,6 +63,16 @@ class rhizo_base::freeswitch::debian inherits rhizo_base::freeswitch::common {
|
|||
require => Package['freeswitch'],
|
||||
}
|
||||
|
||||
file { '/usr/lib/freeswitch/mod/mod_amr.so':
|
||||
source => 'puppet:///modules/rhizo_base/mod_amr.so',
|
||||
require => Package['freeswitch'],
|
||||
}
|
||||
|
||||
file { '/etc/freeswitch/autoload_configs/amr.conf.xml':
|
||||
content => template('rhizo_base/amr.conf.xml.erb'),
|
||||
require => Package['freeswitch'],
|
||||
}
|
||||
|
||||
file { '/etc/freeswitch/autoload_configs/modules.conf.xml':
|
||||
content => template('rhizo_base/modules.conf.xml.erb'),
|
||||
require => Package['freeswitch'],
|
||||
|
|
18
modules/rhizo_base/templates/amr.conf.xml.erb
Normal file
18
modules/rhizo_base/templates/amr.conf.xml.erb
Normal file
|
@ -0,0 +1,18 @@
|
|||
<configuration name="amr.conf" description="mod_amr configuration">
|
||||
|
||||
<settings name="default">
|
||||
<!-- AMR mode set (see RFC 4867) -->
|
||||
<!-- param name="mode-set" value="0,1,2,3,4,5,6,7" /-->
|
||||
<param name="mode-set" value="4,5" />
|
||||
|
||||
<!-- enable octet alignment -->
|
||||
<param name="octet-align" value="1"/>
|
||||
|
||||
<!-- rhizomatica custom param: force OA mode always for osmo-bts -->
|
||||
<param name="force-oa" value="1"/>
|
||||
|
||||
<!-- enable discontinuous transmission -->
|
||||
<param name="dtx" value="false"/>
|
||||
<param name="default-bitrate" value="4"/>
|
||||
</settings>
|
||||
</configuration>
|
Loading…
Add table
Add a link
Reference in a new issue