TIPS Sound Languages don't install though module

Joined
Aug 20, 2013
Messages
51
Reaction score
3
Hi everybody,

New IncrediblePBX 13-13 on centos 7 in the cloud on KVM. I made a second install and same issue.

When I click on download Spanish, or any other language, I'm presented with a dialog box that does not populate. When I click on Accept License Agreement I'm directed to a page with a time stamp, otherwise blank.

I found Language Sound files on the FreePBX site that are 10 years old in 729, gsm, and ulaw. Should I figure out how to install these manually or is this a bug that can be easily remedied?
 

Attachments

dallas

Active Member
Joined
Oct 21, 2007
Messages
220
Reaction score
32
Location
Sydney, Australia
Hi Charles,
I have not solved this but from what I've read the solution is the overwrite the files in .../sounds/en with the language you want to use.
I must admit I haven't persued it as I'm still using and older version (Incredible 4.11.3) on an older Pi.
 
Joined
Aug 20, 2013
Messages
51
Reaction score
3
Hi Charles,
I have not solved this but from what I've read the solution is the overwrite the files in .../sounds/en with the language you want to use.
I must admit I haven't persued it as I'm still using and older version (Incredible 4.11.3) on an older Pi.
Yeah, I can see how that can work. It should work for you assuming your download is of the correct codecs. I'm trying to create a second language option, so I need to dig a little deeper.

By the way, where did you find your language files? The ones I found were around 10 years old. I'm not sure where piaf is pulling them from on install. If I can't figure it out maybe I'll see if another freebpx spin downloads them on install then copy it over.
 

dallas

Active Member
Joined
Oct 21, 2007
Messages
220
Reaction score
32
Location
Sydney, Australia
Yeah, I can see how that can work. It should work for you assuming your download is of the correct codecs. I'm trying to create a second language option, so I need to dig a little deeper.

By the way, where did you find your language files? The ones I found were around 10 years old. I'm not sure where piaf is pulling them from on install. If I can't figure it out maybe I'll see if another freebpx spin downloads them on install then copy it over.
Yes, I'm not sure how you can have multiple languages. I got the language files from here http://downloads.asterisk.org/pub/telephony/sounds/
I also compiled the g729 codec and converted some prompts I recorded to g729 inside asterisk.
 
  • Like
Reactions: Charles Steiner

ostridge

Guru
Joined
Jan 22, 2015
Messages
383
Reaction score
70
Location
UK
I've read the solution iles in the overwrite the files in .../sounds/en with the language you want to use.
I would not recommend to overwrite the directory /var/lib/asterisk/sounds/en but instead make a new directory for the language you want to use - mine are now installed into /var/lib/asterisk/sounds/en_GB which is the UK English.
Code:
mkdir /var/lib/asterisk/sounds/en_GB
cd /var/lib/asterisk/sounds/en_GB
change the language code as required.

Then there are the usual problems such as en uses 'press the pound key' whereas in en_GB we need 'press the hash key' and that necessitated some sound file editing with cut and paste using Audacity.

It is unlikely that the manual methods mentioned in this thread will be any different for the latest versions; though the sound files themselves can be updated either using menu-select mentioned above somewhere, or using a modified update script such as the one above by @Rrrr (for en_GB).

To make asterisk use the files for your language the dial plan needs to include the relevant language=** code. For this see
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
I hope this helps @Charles Steiner . Clearly it will take a bit of coding to modify the dial plan if you need your sound prompts to be selected on basis of the callerID number using the country +44 type country codes, and transposing that to the ISO country codes (mostly 2 letter codes).

Keeping the ../sounds/en folder turned out to be useful while testing, also for comparison of my changes with the original en files. I noted that if you try to play a missing file then Asterisk will play an equivalent en file if available.
 
Last edited:
  • Like
Reactions: Charles Steiner

dallas

Active Member
Joined
Oct 21, 2007
Messages
220
Reaction score
32
Location
Sydney, Australia
I would not recommend to overwrite the directory /var/lib/asterisk/sounds/en but instead make a new directory for the language you want to use - mine are now installed into /var/lib/asterisk/sounds/en_GB which is the UK English.

To make asterisk use the files for your language the dial plan needs to include the relevant language=** code. For this see


I hope this helps @Charles Steiner . Clearly it will take a bit of coding to modify the dial plan if you need your sound prompts to be selected on basis of the callerID number using the country +44 type country codes, and transposing that to the ISO country codes (mostly 2 letter codes).
Which brings us right back to the original post... "sound languages don't install through module." You have to do it outside FreePBX.
 
Joined
Aug 20, 2013
Messages
51
Reaction score
3
Which brings us right back to the original post... "sound languages don't install through module." You have to do it outside FreePBX.
I'm also curious about the Wordfence error. That's a wordpress plug. Is this somehow related?
 

Members online

PIAF 5 - Powered by 3CX

Forum statistics

Threads
22,456
Messages
138,073
Members
14,620
Latest member
Brads#Bell