[Freeswitch-users] Play recording sound into conference

Michael Collins msc at freeswitch.org
Tue May 3 01:11:00 MSD 2011


If you know the conference name then you can use the API-from-dialplan
syntax:
http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan

something like:
<action application="set" data="tmp=${conference $conf_name play
${recording} async}"/>

Give it a try and let us know what happens.
-MC

On Mon, May 2, 2011 at 7:47 AM, Frank Rosengart <frank at rosengart.de> wrote:

> 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
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110502/62064071/attachment.html 


More information about the FreeSWITCH-users mailing list