Re: [Freeswitch-users] How to play a prompt to an ongoing conference?
The following command is the right command: conference <confname> play <path to file> In JavaScript, the following version of this commanhd should work: apiExecute("conference", confname+" play "+Filename); One word of warning. If you use play to a session, it normally waits until it is done. As I understand it, the above command does not wait. I had to know when it was done, but since I also had to play it to a channel, I decided that they would complete at the same time. There is a separate "conference <> stop" command. I haven't seen anything to suggest a way to determine if something is still playing or recording. I know recording takes up slots in the conference and I suspect that play would also. However, they aren't reported on in a list. Perhaps there should be another version of list, one that reports on the auxiliary channels. Regards, Paul David Swardstrom
participants (1)
-
David Swardstrom