[Freeswitch-users] Play recording sound into conference

Anthony Minessale anthony.minessale at gmail.com
Tue May 3 04:21:59 MSD 2011


or use the read application from the dp to record the name then set
conference_enter_sound variable to the path to the file
and use api_hangup_hook to delete it


On Mon, May 2, 2011 at 4:11 PM, Michael Collins <msc at freeswitch.org> wrote:
> 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
>
>
> _______________________________________________
> 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
>
>



-- 
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
pstn:+19193869900



More information about the FreeSWITCH-users mailing list