Hi
Like to have a meetme feature with music on background.. ie the music will be very low volume. or one the meetme participant shound be music-on-hold app, is that possible?
Any other suggestions or hints.
Thanks in Advance
jay
Hi
Like to have a meetme feature with music on background.. ie the music will be very low volume. or one the meetme participant shound be music-on-hold app, is that possible?
Any other suggestions or hints.
Thanks in Advance
jay
Do you mean you want to have music playing during a meeting? Or just when people are waiting for the meeting bridge to start
Thanks for the rpely
I want music paly during a meeting.
Jay
That is actually entirely possible.
I assume you want this to be an automatic thing?
It would take a little bit of custom dialplan, but its totally possible to make happen.
The way I would set it up is upon creation of a meeting and someone joining the meeting, i would have asterisk bridge a 'ghost' call between MeetMe and a generic queue. The queue would simply be one that would never get answered, but would queue the call indefinitely.
The queue you could assign the music you wanted played.
I'm sure it would work. There might be some coding magic to have the system disconnect the bridge call when the meeting is over, but nothing that cant be done.
I don't have time to code it today, but I can on Monday.
(if someone comes up with some alternative code or way to do it, that would be great too).
THere are actually 2 or 3 other ways you could do this...do you want to play mp3 music? or do you have a specfic source you want played?
I agree, def doable.... but I have to ask... Can you tell us why you would want music playing during a conference call...? I'm extremely curious....
I'm curious tooooo
Hi dickson
thanks. I want to play random mp3 music.
Jay
Hi
1. My boss want me to play the music and he feels it make listerners much more interested in conference, he have good collection of CDs.
Warm Regards
Jay
Your boss wants more people to be interested in a conference call? Talk about something interesting!!!!!
....not sure about anyone else here...but the only way to make a conference interesting for me is if there is free pizza and beer at my desk for the duration of the meeting. Not sure about others reading this, but I think the only thing more annoying than a conference bridge (and god forbid, an accompanying powerpoint presentation) would be annoying elevator music that I can't control the volume of. To be truthful, its going to be something that you will find SUPER DUPER annoying and is an all round band idea.
1- Have you ever been on a conference call where you can't quite hear the person? They are on a cell phone calling in....but are also on a moving train on their commute to work? Imagine trying to listen to that person talk with electric guitars or a string section playing in the background.
2- What kind of music will you play? Have you ever been forced to listen to elevator music or the radio while on a noisy conference bridge? Whats to say your boss's taste in music is going to be everyone's cup of tea? If i were on a conference bridge and the song "Life is a highway" EVER played...i would call off the deal!! (i really really REALLY hate that song)
3- Honestly..this is an idea where the FIRST thing that is going to happen is your boss is going to say "..how do we turn the music off? We're on a conference bridge with our investors and our paying customers and this thing sounds absolutely totally unprofessional"
The FIRST comment from every listener will be "whoever has the clock radio running in the background please turn it off" I bet.
Anyway, its not a great idea, but people like to deploy Voice Recognition IVR's too...don't know why...but maybe they will like this too. I'll code it anyway.
Besides being annoying, music CDs are copyrighted intellectual property. You would need to pay royalties everytime you played a track. There have been a number of cases recently where the music industry has come down hard on music pirates.
Hi Dickson
I have no idea why boss need this. However I thought it is possible, I will convey the your reply and legal issues.
Thanking you once again
Jay
Hi Dickson
Any progress in coding ?
Thanks a lot
Jay
yep! just been a little busy. System uses a dummy queue to play music, just trying to make it stop when everyone leaves a meeting
Ok, not that I really think that this is a good idea to begin with, but here's the code as promised. Tested it on a couple of revisions, seems to work.
At the very least, gives some examples of dialplan codes that people might find useful.
What it does.
When the user joins the conference, the system bridges a queue into the meetingroom to play music...in the background.
When the last real caller leaves, the queue music is dropped.
How it works:
The system sets each real caller who joins a meeting as a "MARKED" user, but does not set the music 'call' as marked. This way, when the last user leaves a meeting, it will disconnect the music automatically. This differences is achieved by using a variable in the .call file.
Installation:
Open the /etc/asterisk/extensions_custom.conf file
Past the code below between the ======= symbols
Save the code.
Open FreePBX
Create a ringgroup (i used number 600, whatever number you use, match it to the variable in the dialplan
SetVar(meetroom=600)
In the 'extension list' in the ringgroup put in any invalid extension number
Point the ring group to a custom failover destination
custom-meetme-music,s,1
Create a Queue. I used 5000 in my example, you can use any number you want, just match it to the variable in the dialplan
SetVar(meetmemusicnumber=5000)
Leave the queue defaults. This will allow a system to queue a call forever. For this code, it will just play music forever.
Save your changes, click the "RELOAD" button on the screen and call your ring group number and test.
=======
[custom-meetme-music]
exten => s,1,NoOp(&& MeetMe with Music Dial Plan &&)
exten => s,n,SetVar(meetroom=600)
;set this to be the same number you dial to get to the meeting room.
;this code used a ring group "600" to execute this code
exten => s,n,SetVar(meetmemusicnumber=5000)
;the queue number you assign to play music
exten => s,n,MeetMeCount(${meetroom}|count)
exten => s,n,Gotoif,$[${meetmemusic} = 1]?joinmusic
exten => s,n,Gotoif,$[${count} > 0]?joincaller
exten => s,n,NoOp(&& Creating .call file to bridge music &&)
exten => s,n,system(echo "Channel: Local/${meetmemusicnumber}@from-internal/n" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(echo "MaxRetries: 1" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(echo "WaitTime:5" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(echo "Context: from-internal" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(echo "Extension: ${meetroom}" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(echo "Priority: 1" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(echo "SetVar: meetmemusic=1" >> /etc/asterisk/${meetmemusicnumber}.call)
exten => s,n,system(chown asterisk:asterisk ${meetmemusicnumber}.call)
exten => s,n,Wait(1)
exten => s,n,system(mv /etc/asterisk/${meetmemusicnumber}.call /var/spool/asterisk/outgoing)
exten => s,n,Goto(joincaller)
exten => s,n(joinmusic),SetVar(meetmemusic=0)
exten => s,n,NoOp(&& STARTING THE MUSIC &&)
exten => s,n,MeetMe(${meetroom}|dsx))
exten => s,n(joincaller),MeetMe(${meetroom}|Adsx)
=======================
Copyright © 2011 Fonality
Fonality and trixbox are trademarks of Fonality. Trademark Policy. Privacy Policy.
Asterisk is a trademark of Digium, Inc. Fonality and trixbox are not affiliated with, nor endorsed by Digium, Inc.
Member Since:
2006-12-25