If you know the conference name then you can use the API-from-dialplan syntax:<div><a href="http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan">http://wiki.freeswitch.org/wiki/Mod_commands#From_the_Dialplan</a></div>
<div><br></div><div>something like:</div><div><action application="set" data="tmp=${conference $conf_name play ${recording} async}"/></div><div><br></div><div>Give it a try and let us know what happens.</div>
<div>-MC<br><br><div class="gmail_quote">On Mon, May 2, 2011 at 7:47 AM, Frank Rosengart <span dir="ltr"><<a href="mailto:frank@rosengart.de">frank@rosengart.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,<br>
<br>
I wonder if anyone has a recipe for the typical "please state your name<br>
after the tone" ... "(play $recording) has joined the conference"<br>
feature of conference systems.<br>
<br>
The recording part is obvious. But how do I play audio into a conference<br>
from the dialplan?<br>
<br>
This is how I think it should work.<br>
--snip--<br>
<action application="playback" data="voicemail/vm-record_name1.wav"/><br>
<action application="record" data="/tmp/name-${uuid}.wav 5 200"/><br>
<action application="conference"<br>
data="$conference play /tmp/name-${uuid}.wav"/><br>
<action application="conference"<br>
data="$conference play conference/conf-has_joined.wav"/><br>
<action application="conference" data="$conference"/><br>
<br>
But the first 'conference play ..' action already puts the call into<br>
the conference.<br>
<br>
Any idea?<br>
<br>
Thanks!<br>
<br>
Frank<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>