Monday, February 06, 2006

AAH Sounds

 
If you have Asterisk@Home and haven't fully aquainted yourself with all the sound files that come with it, I would suggest you do. They have a sound file for everything, and some are quite entertaining. While I was exploring them, I created an extension to call and play the different sounds in different orders, and came up with the perfect combination to send all incoming calls from my mother. It involves the sound file named gambling-drunk.gsm.
If you're a Windows person as I mainly am, use winscp to connect to your AAH server, and easily browse the sound files in /var/lib/asterisk/sounds. Apple's QuickTime will play gsm files, or you could setup an extension on your AAH box to play the sounds by adding this to the /etc/asterisk/extensions_custom.conf file:

;simple playback
exten => 298,1,Answer
; 298 is the extension, it can be changed to whatever
exten => 298,2,Wait(1)
exten => 298,3,Playback(gambling-drunk)
;replace gambling-drunk with another sound
file name w/o extension
exten => 298,4,Playback(vm-goodbye)
exten => 298,5,Hangup

Have fun!

0 Comments:

Post a Comment

<< Home