<br><br><div class="gmail_quote">On Sun, Sep 4, 2011 at 11:30 AM, Iain Hale <span dir="ltr"><<a href="mailto:Iain.Hale@360crm.co.uk">Iain.Hale@360crm.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">Hello,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I would like to configure the FreeSwitch Conference Call facility to enable callers to speak their name before joining a conference call and then be announced to the other participants before they join the call. Any pointers of how to do this would be much appreciated.</p>
</div></div></blockquote><div>Sorry for the late reply. Here is a simple PoC dialplan for getting the caller's name and announcing it. Just keep in mind that you'll need to clean up all the /tmp/*-name.wav files at some point, like in a cron job.</div>
<div>-MC</div><div><br></div><div><div><font class="Apple-style-span" face="'courier new', monospace"> <extension name="Record Name and schedule conf announce"> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <condition field="destination_number" expression="^55(3\d\d\d)$"> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="answer"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="set" data="namefile=/tmp/${uuid}-name.wav" inline="true"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="sleep" data="1000"/>> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="playback" data="voicemail/vm-record_name1.wav"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="playback" data="tone_stream://%(1000,0,500)"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="record" data="${namefile} 1"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="playback" data="ivr/ivr-call_being_transferred.wav"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="set" data="res=${sched_api +1 none conference $1-${domain} play file_string://${namefile}!conference/conf-has_joined.wav}"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> <action application="transfer" data="$1 XML default"/> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> </condition> </font></div>
<div><font class="Apple-style-span" face="'courier new', monospace"> </extension> </font></div></div><div><br></div></div>