[Freeswitch-users] Playing multiple files simultaneously

Steve Underwood steveu at coppice.org
Thu Jul 7 05:11:14 MSD 2011


On 07/01/2011 01:13 PM, Bryan Smart wrote:
> Is it possible for Freeswitch to play more than one file to a channel at a time? What I've seen and tried from the dialplan and scripts either queues files to play, or will stop a currently playing file so that the newly requested file will play. This also seems to be the case in conferences. When I send multiple play commands to conferences, the files are queued.
>
> As for how this might be used, think of an IVR that plays queued prompts, yet continuously plays looping music or a Shoutcast stream in the background. I also want to be able to play short cue tones that start at the same time as a prompt (don't want to pre-mix them in to a single file, though).
>
> Is this currently possible through any means? Perhaps with the event socket?
>
Be really careful making plans like this. Multiple sounds will mix 
nicely with something like ALaw or uLaw. If you try it with a low bit 
rate codec, like G.729 or a cellphone codec, the result will sound 
awful. Modern telephony really is geared to one voice and one voice only 
at any moment.

Steve




More information about the FreeSWITCH-users mailing list