Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:55 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: New sounds for Asterisk 1.4
PostPosted: Sun Oct 01, 2006 10:10 am 
Offline

Joined: Fri Apr 28, 2006 5:11 am
Posts: 426
Areski, i think, we need new, converted package of sounds, what you think about this? in new asterisk release (very soon) 1.4 sounds will be in all 5 formats. it's possible re-convert it for everybuddy and put in in download area? thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 01, 2006 2:39 pm 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
The current sound files will work with 1.4 just as good as they work now with 1.2. Asterisk will transcode as needed. However, I agree that having the sound files in all formats and eliminating transcoding is a plus.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 20, 2008 10:02 pm 
Offline
User avatar

Joined: Mon Apr 30, 2007 6:43 am
Posts: 1060
Location: Canada
If you really want to make sure that transcoding will not be due to missing sounds in a given format, you can convert all available sounds files in other format yourself using the "convert" application available in Asterisk 1.4.

Here is a bash script that I have created in order to help me recursively convert sound files in all formats that are available in asterisk 1.4.

Give it a try, you will love it.

It is called soundsright. Here are different ways to run it.
Code:
# ./soundsright wav g729 /var/lib/asterisk/sounds/

or
Code:
# ./soundsright wav ulaw /var/lib/asterisk/sounds/

or
Code:
# ./soundsright gsm alaw /var/lib/asterisk/sounds/


These usage example will only pretend and not actually convert the sounds files. It will help you get an idea about the task ahead.

The actual conversion will be done when you use the option --convert.

The above example will become ...
Code:
# ./soundsright wav g729 /var/lib/asterisk/sounds/ --convert

or
Code:
# ./soundsright wav ulaw /var/lib/asterisk/sounds/ --convert

or
Code:
# ./soundsright gsm alaw /var/lib/asterisk/sounds/ --convert


If you run the script without any parameters, it will return the help page.


Attachments:
File comment: Sounds Right. A sounds file format converter for Asterisk.

Use the following commands to rename this file to soundsright to make it executable.

# mv soundsright.txt soundsright
# chmod 755 soundsright

soundsright.txt [3.04 KiB]
Downloaded 1115 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 
Hosted Voice Broadcast


All times are UTC


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group