BUG Sound Languages screen in FreePBX broken?

CyberneticianDave

New Member
Joined
Mar 9, 2018
Messages
10
Reaction score
1
Hi all

I wonder if anyone can help me. I was hoping to download the UK english voice prompts using the "sound languages" option in the Admin menu.

However, when I load the screen I have lots of artefacts from the PBX in a flash website (see attached screenshot) and a message saying:
Code:
Unable to get online sound packages. Error was: [0]

I can't click on the UK download button, but none of the others work either.

zh6krug.jpg
 

Rrrr

Tink
Joined
May 28, 2009
Messages
343
Reaction score
25
same same here, any tips?

Asterisk 13.18.5
Incredible 13.0.120.10
Centos 6.9
 
Last edited:

Rrrr

Tink
Joined
May 28, 2009
Messages
343
Reaction score
25
@ostridge thank you for the useful links. I need other languages.
Can you explain further about menuselect?
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,618
Reaction score
517
I need other languages.
But did you scroll down the (long) listing of the sound files http://downloads.asterisk.org/pub/telephony/sounds/releases/
You don't say which language(s) you are into; such as en; en_GB; fr; es; and I presume (without my looking) etc. etc. ??

the following threads deal with upgrade asterisk to current version.

https://pbxinaflash.com/community/threads/manually-updating-asterisk.6608/

https://pbxinaflash.com/community/threads/original-asterisk-upgrade-script.12560/

https://pbxinaflash.com/community/threads/asterisk-13-12-2-upgrade.20586/
'make menuselect' is run during the upgrade and provides a menu where you can decide to install various features. Mostly the defaults are what is required unless of course you ALSO want to install your set of language files as part of the upgrade.


The language files tarball can be downloaded, untar, and placed into their proper place on your server.
for example mine were added in /var/lib/asterisk/sounds/en_GB
your default en sounds are in
/var/lib/asterisk/sounds/en (keep them in (en) for reference)
of course some are grouped into subdirectories such as
..../sounds/en/dictate or digits or followme or letters or phonetic or silence .

Getting the language files to work involves searching for the language=en
doing a search and replace with your (=en_GB or sojmething) in various files by searching for the relevant text e.g. language=en and search/replace for en with your language directory name as 'en_GB' for example

Before editing any files note that some files contain the fPBX warning not to edit notably *_additional.conf

The changes are to be done in the *_custom.conf files of similar name

my search came up with
Code:
/etc/default/locale
/etc/locale.gen
/etc/asterisk/extensions_custom.conf
/etc/asterisk/say.conf
Do NOT edit:  /etc/asterisk/extensions_additional.conf
/etc/asterisk/globals_custom.conf
Do NOT edit: /etc/asterisk/sip_general_additional.conf

Which language is used is just a matter of telling the dialplan which subdirectory within 'sounds' it should use.

If your particular language recording is missing then asterisk will use the equivalent from the en directory or something.

Don't forget to do an
Code:
 /root/incrediblebackup
before you start. If you edit any files first do make a backup.

And oh! you may also like https://wiki.asterisk.org/wiki/display/AST/Using+Menuselect+to+Select+Asterisk+Options
 
Last edited:

Rrrr

Tink
Joined
May 28, 2009
Messages
343
Reaction score
25
@ostridge thank again for taking the time to explain.

I note that both http://downloads.digium.com/pub/telephony/sounds/ and http://downloads.asterisk.org/pub/telephony/sounds/releases/ resolve to the same place: It's a great source. I guess I just take the highest version number
(I also checked https://www.asterisksounds.org/en/download, but the sound files are only in sln16 format).

1. I see in my log asterisk selects the correct sound file based on the channel codec: gsm, ulaw, alaw, g722, but it does not select sln16 (which I assume is best quality). How do I best work with sln16?

2. Why do you suggest I upgrade asterisk? I installed this version 13.18.5 just a few months ago;

3. I miss greek, dutch, hebrew: would love to know where I can find the sources.
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,618
Reaction score
517
selects the correct sound file based on the channel codec: gsm, ulaw, alaw, g722, but it does not select sln16 (which I assume is best quality).
I read that .sln is native asterisk, and asterisk can transcode but that takes precious cycles.

Why do you suggest I upgrade asterisk? I installed this version 13.18.5 just a few months ago;
Upgrade always carries a risk of going south, though I have not experienced that (yet). safer to backup download the script for your version, and if you can read the script you could find the code to just run 'make menuselect' but I have not done that for a long time, and perhaps @wardmundy might help with that?

greek (el), dutch (nl), hebrew (he)
Ah well that's greek to me, and you will have to go dutch :biggrinjester:.

Just noticed that (eu) is for basque, which I thought perhaps a bit of a hijack.;)

I don't know whether as a work around you might pacify your audience by trying (de) (fr) (en_GB) ??
Regards
 
Last edited:

Rrrr

Tink
Joined
May 28, 2009
Messages
343
Reaction score
25
:rolleyes:

For info, with thanks to @ostridge:

Code:
mkdir /var/lib/asterisk/sounds/en_GB
cd /var/lib/asterisk/sounds/en_GB

wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sounds-en_GB-alaw-current.tar.gz 
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sounds-en_GB-ulaw-current.tar.gz  
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sounds-en_GB-g722-current.tar.gz  
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-core-sounds-en_GB-sln16-current.tar.gz  

tar -xzf asterisk-core*alaw*.gz
tar -xzf asterisk-core*ulaw*.gz 
tar -xzf asterisk-core*g722*.gz 
tar -xzf asterisk-core*sln16*.gz 

wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-extra-sounds-en_GB-alaw-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-extra-sounds-en_GB-ulaw-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-extra-sounds-en_GB-g722-current.tar.gz
wget http://downloads.asterisk.org/pub/telephony/sounds/asterisk-extra-sounds-en_GB-sln16-current.tar.gz

tar -xzf asterisk-extra*alaw*.gz
tar -xzf asterisk-extra*ulaw*.gz
tar -xzf asterisk-extra*g722*.gz
tar -xzf asterisk-extra*sln16*.gz

rm asterisk*sounds*gz
 
Last edited:

Rrrr

Tink
Joined
May 28, 2009
Messages
343
Reaction score
25
Thanks for the effort, here is exactly where I got stuck.
I hope the bug in the OP will be fixed.
 

ostridge

Guru
Joined
Jan 22, 2015
Messages
1,618
Reaction score
517
bug in the OP will be fixed
What repo does the OP's bug point to; it is'nt there on the raspbian8 version probably due to space; and the fact that ipbx can pick & choose. The PIAF must be looking in a repo where permission is lacking?
 

Rrrr

Tink
Joined
May 28, 2009
Messages
343
Reaction score
25
I have the same problem with:
Asterisk 13.18.5
Incredible 13.0.120.10
Centos 6.9
 

Members online

Forum statistics

Threads
25,782
Messages
167,514
Members
19,203
Latest member
frapu
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top