For no reason other than it would be cool, I'd like to be able to dial an extension and have it play a random MP3. Since, however, MP3s are kinda-sorta weird due to patents, I'm not sure what the right approach for this is. Any pointers on how to go about this? Thanks! -Ken
You can install the custom mp3 player or just convert your mp3's to gsm with lame. I did this with a free Beethoven overture download and it sounds pretty good over the phone line. -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ken D'Ambrosio Sent: Thursday, January 08, 2009 3:15 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Playing MP3s... For no reason other than it would be cool, I'd like to be able to dial an extension and have it play a random MP3. Since, however, MP3s are kinda-sorta weird due to patents, I'm not sure what the right approach for this is. Any pointers on how to go about this? Thanks! -Ken _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Ken, An empty conference call or a parking lot with MOHMP3 both come to mind. --Dave -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ken D'Ambrosio Sent: Thursday, January 08, 2009 4:15 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] Playing MP3s... For no reason other than it would be cool, I'd like to be able to dial an extension and have it play a random MP3. Since, however, MP3s are kinda-sorta weird due to patents, I'm not sure what the right approach for this is. Any pointers on how to go about this? Thanks! -Ken _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Thu, 2009-01-08 at 16:15 -0500, Ken D'Ambrosio wrote:> For no reason other than it would be cool, I'd like to be able to dial an > extension and have it play a random MP3. Since, however, MP3s are > kinda-sorta weird due to patents, I'm not sure what the right approach for > this is. Any pointers on how to go about this? > > Thanks! > > -KenYou could use format_mp3 from addons and app_playback to do this. Although doing a random file might be a little tricky. You could use an AGI script to simplify choosing a random file. Alternatively you could use music on hold set for random and MusicOnHold which is a more straightforward solution. -- Matthew Nicholson Digium, Inc. | Software Developer