Changes

From SME Server
Jump to navigationJump to search
498 bytes added ,  19:49, 12 January 2019
Line 251: Line 251:     
===SME9: install more language pack manually ===
 
===SME9: install more language pack manually ===
In 2019, language sound module stop displayin available language packs. It seems that freepbx team has isue or stop populating their $xml = $this->getRemoteFile("/sounds-" . $base_version . ".xml"); file iéeé for fpbx13 :  
+
In 2019, language sound module stop displayin available language packs. It seems that freepbx team has isue or stop populating their $xml = $this->getRemoteFile("/sounds-" . $base_version . ".xml"); file for fpbx13 : http://mirror1.freepbx.org/sounds-13.0.xml As a result sound lang module will display an empty list.
   −
wget -r -l 1 -c --no-directories --no-parent -A 'asterisk-*-sounds-fr-*' -R '*.txt,*sha1' <nowiki>http://downloads.asterisk.org/pub/telephony/sounds/</nowiki>
+
Just change MYLANG='fR' to your desired language. <syntaxhighlight lang="bash">
 +
mkdir /root/soundpacks
 +
cd /root/soundpacks
 +
MYLANG='fr'
 +
wget -r -l 1 -c --no-directories --no-parent -A 'asterisk-*-sounds-'$MYLANG'-*' -R '*.txt,*sha1' http://downloads.asterisk.org/pub/telephony/sounds/
 +
rm -f robots.txt
 +
for OUTPUT in $(ls *-$MYLANG-* )
 +
do
 +
tar -xzf $OUTPUT -C /var/lib/asterisk/sounds/$MYLANG
 +
done
 +
chown asterisk:asterisk -R /var/lib/asterisk/sounds/$MYLANG
 +
</syntaxhighlight>After that login to freepbx and add a custom language for your lang to be able to use it.
    
===SME9: difficulty to upgrade ===
 
===SME9: difficulty to upgrade ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu