[Freeswitch-users] Play recording sound into conference

Frank Rosengart frank at rosengart.de
Mon May 2 18:47:30 MSD 2011


Hi,

I wonder if anyone has a recipe for the typical "please state your name
after the tone" ... "(play $recording) has joined the conference"
feature of conference systems.

The recording part is obvious. But how do I play audio into a conference
from the dialplan?

This is how I think it should work.
--snip--
<action application="playback" data="voicemail/vm-record_name1.wav"/>
<action application="record" data="/tmp/name-${uuid}.wav 5 200"/>
<action application="conference"
  data="$conference play /tmp/name-${uuid}.wav"/>
<action application="conference"
  data="$conference play conference/conf-has_joined.wav"/>
<action application="conference" data="$conference"/>

But the first 'conference play ..'  action already puts the call into
the conference.

Any idea?

Thanks!

Frank



More information about the FreeSWITCH-users mailing list