[VoIP] MP#PLAYER App

Lee Spenadel lee at spenadel.com
Wed Mar 14 07:36:46 CST 2007


That's true for music-on-hold uses.  However, this doesn't work if you just
want to play an MP3 outside of MOH, which is what I'm trying to do.  

exten => ${OFFICECODE}extension
number,n,MP3PLAYER,/var/lib/asterisk/mohmp3/Peace-Train.mp3   - this works

exten => ${OFFICECODE}extension number,n,MP3PLAYER,Peace-Train.mp3  - this
does not work.

So I'm thinking that the MP3PLAYER application has its own default directory
for music files.

Lee



-----Original Message-----
From: voip-bounces at ckts.info [mailto:voip-bounces at ckts.info] On Behalf Of
John Novack
Sent: Wednesday, March 14, 2007 9:10 AM
To: Voice Over IP Tandem for Analog Switches
Subject: Re: [VoIP] MP#PLAYER App

In the 1.2 versions of asterisk, it is specified in musiconhold.conf
directory=/var/lib/asterisk/mohmp3
Additional details need to be supplied when using a stream

1.4 appears to be different

John Novack

Lee Spenadel wrote:
> Does anyone know what the "default" directory for the MP3PLAYER
application
> is?  In order for a mp3 to play I have to specify the path to the tune
> rather than placing the tune in the appropriate directory.  This is part
of
> the mpg123 installation.
>
>  
>
> Thanks
>
> Lee
>
>  
>
>  
>
>  
>
>  
>
> If your car could travel at the speed of light, would your headlights
work?
>
>  
>
> _______________________________________________
> VoIP mailing list
> VoIP at ckts.info
> http://lists.ckts.info/mailman/listinfo/voip
> Project Web Page: http://www.ckts.info/
>
>   
_______________________________________________
VoIP mailing list
VoIP at ckts.info
http://lists.ckts.info/mailman/listinfo/voip
Project Web Page: http://www.ckts.info/



More information about the VoIP mailing list