Created
July 7, 2016 19:35
-
-
Save goffinet/7835fb38aa1ce29544acc079ecfdbe6d to your computer and use it in GitHub Desktop.
Fichier français http://www.raspberry-asterisk.org/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
##1. Dans le GUI : | |
##Modules Administration/Download and install Languages/Apply Config | |
##Asterisk SIP Settings/Advanced General Settings/Language = fr/Apply config | |
##2. En console : | |
##amportal restart | |
##3. Téléchargement des fichiers | |
REP=http://downloads.asterisk.org/pub/telephony/sounds | |
DIR=/var/lib/asterisk/sounds/fr | |
mkdir $DIR | |
cd $DIR | |
wget $REP/asterisk-core-sounds-fr-alaw-current.tar.gz | |
wget $REP/asterisk-core-sounds-fr-gsm-current.tar.gz | |
wget $REP/asterisk-core-sounds-fr-ulaw-current.tar.gz | |
wget $REP/asterisk-extra-sounds-fr-alaw-current.tar.gz | |
wget $REP/asterisk-extra-sounds-fr-gsm-current.tar.gz | |
wget $REP/asterisk-extra-sounds-fr-ulaw-current.tar.gz | |
wget $REP/asterisk-moh-opsound-alaw-current.tar.gz | |
wget $REP/asterisk-moh-opsound-gsm-current.tar.gz | |
wget $REP/asterisk-moh-opsound-ulaw-current.tar.gz | |
gunzip *.gz | |
tar xfv asterisk-core-sounds-fr-alaw-current.tar | |
tar xfv asterisk-core-sounds-fr-gsm-current.tar | |
tar xfv sounds/asterisk-core-sounds-fr-ulaw-current.tar | |
tar xfv asterisk-extra-sounds-fr-alaw-current.tar | |
tar xfv asterisk-extra-sounds-fr-gsm-current.tar | |
tar xfv asterisk-extra-sounds-fr-ulaw-current.tar | |
tar xfv asterisk-moh-opsound-alaw-current.tar | |
tar xfv asterisk-moh-opsound-gsm-current.tar | |
tar xfv asterisk-moh-opsound-ulaw-current.tar | |
rm asterisk-* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment