ASTERISK & MP3 (III)

5 Aug

8. Setup file pendukung menjalankan mp3 dengan mpg123-0.59r. Jika menggunakan mpg123-0.60 ternyata hasilnya tidak bagus.
# cd /usr/local/src
# tar -zxf mpg123-0.59r.tar.gz
# cd mpg123-0.59r
# make linux
# cp mpg123 /usr/sbin/

9. setup /etc/asterisk/extensions.conf, misalnya dalam contoh no extentions 9003, untuk menjalankan file mp3 di /home/ubs/yogya.mp3
# vi /etc/asterisk/extensions.conf
exten => 9003,1,Answer
exten => 9003,2,MP3Player(/home/ubs/yogya.mp3)
exten => 9003,3,Hangup

10. Mematikan asterisk
# killall asterisk
# killall asterisk

11. Menjalankan asterisk
# asterisk

1. Instalasi Asterisk

2. Asterisk & Softphone X-Lite

3. Asterisk & MP3

4. Asterisk & SPA-3102

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: