dana.satriya

February 12, 2009

How to play mp3 in your asterisk

Filed under: Asterisk

first of all, what we have to install in our asterisk server

mpg123 (either using port/using aptitude)

 @extensions.conf simply add this

 

[player]
exten => 12345,1,Answer()
exten => 12345,2,MP3Player(/var/spool/asterisk/tmp/santa.mp3)
exten => 12345,3,MP3Player(/usr/share/asterisk/mohmp3/Setia.mp3)

 

…. (and so on, depends on which file we want to add)


 

 @ sip.conf, add a user that is below the [player] context

 however, still can not figure how to shuffle that "playlist"..  got any idea anyone?emoticon

Comments »

The URI to TrackBack this entry is: http://danasatriya.blogsome.com/2009/02/12/how-to-play-mp3-in-your-asterisk/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



Anti-spam measure: please retype the above text into the box provided.

Get free blog up and running in minutes with Blogsome
Theme designed by Ian Main