How to play Background music during conference?
Dear Friends, I am using javascript as a scripting language in freeSWITCH. I want to play the background music during conference without mute any member in the conference room. I tried "perpetual-sound" but it is not working. Can anyone help me about this? If yes, then please also send me the example code to play background music. ----- Regards, Kapil Rastogi Telemune Software Solutions P Ltd. kapil.rastogi@telemune.net +919013204760 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-play-Background-music-d... Sent from the freeswitch-users mailing list archive at Nabble.com.
Have you checked the console debug log to see if there are any issues when the perpetual sound is invoked? Or even to confirm that the perpetual sound is invoked? You may wish to pastebin your relevant configs so that others can double-check them for correctness. -MC On Sun, Jan 30, 2011 at 10:57 PM, kapil.rastogi <kapil.rastogi@telemune.net>wrote:
Dear Friends,
I am using javascript as a scripting language in freeSWITCH.
I want to play the background music during conference without mute any member in the conference room.
I tried "perpetual-sound" but it is not working. Can anyone help me about this? If yes, then please also send me the example code to play background music.
----- Regards, Kapil Rastogi Telemune Software Solutions P Ltd. kapil.rastogi@telemune.net +919013204760 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-play-Background-music-d... Sent from the freeswitch-users mailing list archive at Nabble.com.
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Hi, Thanks for your response. When i uncomment the perpetual-sound line in conference.conf.xml file, then it is playing the file specified with that configuration in default conference. But I want to play the file using my javascript application. I am using the following statement in my javascript file to play file in conference: session.execute("conference", "conf-room--1000@default perpetual-sound /usr/local/freeswitch/sounds/en/us/callie/ivr/8000/BGFILE.wav"); In logs, it executed the command but i am unable to listen this file. Can you tell me what I have to do to play this file from my javascript application? Thanks in advance. ----- Regards, Kapil Rastogi Telemune Software Solutions P Ltd. kapil.rastogi@telemune.net +919013204760 -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-play-Background-music-d... Sent from the freeswitch-users mailing list archive at Nabble.com.
participants (2)
-
kapil.rastogi
-
Michael Collins