Introducing Asterisk – Asterisk File Playback
Welcome to the lastest Introducing Asterisk episode from the VoIP Guys – Introducing Asterisk Tutorial 09 – Asterisk File Playback. In today’s episode, we take a more in depth view at Asterisk Applications and Mathias introduces some Asterisk Applications, starting with playing back a file. We also demonstrate how to set the File playback command in your DialPlan and where to find files to play back – var/lib/asterisk/sounds/.
Useful tip here is to find the test files which are marked with „tt-“ which you can then further define your search with the show all command „ls -la tt-“ in the CLI. Moreover, when setting up your dialplan to include a file to playback, you do not need to enter the full path of the file which you wish to playback. You are also not required to enter the file extension format (.wav, .gsm etc). This is because Asterisk will always select the most appropriate file for the current codec being used by the channel. This has the added advantage of saving processing power when transcoding etc.
Stay tuned for next time when we will be back in a couple of weeks with yet more insightful and useful Asterisk tips from the VoIP guys.
If you would like more information regarding pascom and our Asterisk based MobyDick Software PBX, please visit our MobyDick Website. Alternatively, why not download our Community Version and try MobyDick for yourself. For more general information about Asterisk, please visit their Website.
As usual, don’t forget to let us know what you think or if you have any thoughts or tips of your own about Asterisk Dial Plans, by leaving a comment, liking and sharing.