This is an old revision of the document!
Sounds Packages
AstLinux 0.7.1 and later, no longer are sound files included in the default image. This provides several benefits:
- The download image has been reduced (~25% smaller) to approximately 30MB.
- Users can choose to install more than just the core sounds, or non-english sounds.
- For some users, better quality sound playback will be achieved.
Sounds Packages via Web Interface
Using the web interface, click on the System tab and view the Asterisk Sounds Packages section:
Select the package values (ex. core-english-ulaw), then select the action (ex. Upgrade/Install), then click on the Sounds Package button to perform the action.
Usually a 'core' and 'moh' sound package using your native codec is all that is necessary, or at least a good start.
Note: The default “Sounds Pkg URL” currently supports English, Spanish and French.
Sounds Packages via CLI
Alternately, the CLI can be used to manage sounds packages:
To add the Core-English-ulaw Sound Package:
$ upgrade-asterisk-sounds upgrade core en ulaw
To add the Music-on-Hold ulaw Sound Package:
$ upgrade-asterisk-sounds upgrade moh en ulaw
To remove the Extras-French-alaw Sound Package:
$ upgrade-asterisk-sounds remove extra fr alaw
The available options for the upgrade-asterisk-sounds
command are as follows:
Usage: upgrade-asterisk-sounds upgrade|remove|remove-all|show
core|extra|moh
en|es|fr
ulaw|alaw|gsm|wav|g729|g722
[sounds_repository_url]
Note: The remove-all
option will remove all files in the /var/lib/asterisk/sounds/ and /var/lib/asterisk/moh/ directories! Most users will want to use the remove
option instead.