Flash player for on hold music

dean.collins
Posts: 139
Member Since:
2006-06-01

I'd like to have a flash player for on-hold music to be listened to from the Maint browser interface.

Should be able to listen to each track selectively, fast formward/rewind etc.

I'm prepared to kick in $20 for this functionality and I invite other CE users to match the funds.

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



SkykingOH
Posts: 9680
Member Since:
2007-12-17
This would be damn near

This would be damn near impossible without screwing up security. The MOH files are not exposed to the web server.

--

Scott

aka "Skyking"



dean.collins
Posts: 139
Member Since:
2006-06-01
huh?

Huh,

How do you figure that when you use the webserver to upload them to the folder to begin with?

Dean Collins
www.Cognation.net
Delivering Your Solutions Now.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



SkykingOH
Posts: 9680
Member Since:
2007-12-17
The upload is a different

The upload is a different process. I am not considering streaming the music back to the web user, that may be possible.

All of the 'play sound' applets require a URL to reach the source file.

--

Scott

aka "Skyking"



dean.collins
Posts: 139
Member Since:
2006-06-01
like i said

Like i said, this is an easy thing to implement all we need is a flash player that is embedded on the Maint - music on hold upload page so that itcan play back the files when someone wants to listen to them locally to check upload quality etc.

I'm prepared to put $20 towards this bounty.

Scott are you prepared to match it?

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



SkykingOH
Posts: 9680
Member Since:
2007-12-17
$20.00 yeah sure, whatever.

$20.00 yeah sure, whatever.

Again, flash player or no flash player the files aren't exposed so how would it play them? Maybe I am having a senior moment.

--

Scott

aka "Skyking"



dean.collins
Posts: 139
Member Since:
2006-06-01
$40 bounty for flash player to check music on hold tracks

Yeh I'm not sure why you think it would be so difficult but i'm not a developer.

Ok so thats $40 anyone else want to kick in?

Any developers interested in providing a solution for this yet?

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



stechnique
Posts: 733
Member Since:
2008-02-21
Scott, any reason why a

Scott, any reason why a symbollic link in /var/www/html/...? wouldn't do the job?
I reckon this is how listening to recordings (in /var/spool/monitor) works through the web UI.



thatjoshguy
Posts: 14
Member Since:
2010-02-08
Still offering that $20?

I have this working in the standard Quicktime plug-in now. I created a module for the user view that allows users to upload new hold music, listen to it, and adjust the volume, all without having to log in to the admin interface. I'd be willing to share for a small bounty :)



dean.collins
Posts: 139
Member Since:
2006-06-01
$20 from me

did you send me a private message? the forums seem to be a little screwed up as didn't say who it was from but sure if you get your code committed then happy to pay $20 for it.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



thatjoshguy
Posts: 14
Member Since:
2010-02-08
alrighty then

I have this working (with no problems in regards to security...)

It utilizes this free open-source flash audio player: http://blog.datacompboy.ru/2009/10/19/wavplayer-flash-player-for-...

On the code side, two PHP scripts are used. One script is called via a javascript pop-up window to build the player page, which in turn calls another file which reads the WAV or MP3 file as the web user (apache or whatever) and streams the output to the player. Just to clear up the old argument, I did not have to edit any permissions or open any security holes to make this work.

Now, if someone would be so kind as to tell me how to submit this code, I'd be more than happy to share :)



dean.collins
Posts: 139
Member Since:
2006-06-01
commits

cool, once you submit let me know your paypal details to send money.

--

Cheers,
Dean Collins
www.Cognation.net
Delivering Your Solutions Now.



SkykingOH
Posts: 9680
Member Since:
2007-12-17
This code comes from the

This code comes from the downstream FreePBX project.

Please PM me and we can take a look at the code and see what you are doing.

In the interim I can also help you package as a patch and we can put it in the wiki.

--

Scott

aka "Skyking"



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.