<br><br><div class="gmail_quote">On Sun, Sep 4, 2011 at 11:30 AM, Iain Hale <span dir="ltr">&lt;<a href="mailto:Iain.Hale@360crm.co.uk">Iain.Hale@360crm.co.uk</a>&gt;</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&#39;s name and announcing it. Just keep in mind that you&#39;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="&#39;courier new&#39;, monospace">  &lt;extension name=&quot;Record Name and schedule conf announce&quot;&gt;                                                                                                     </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;condition field=&quot;destination_number&quot; expression=&quot;^55(3\d\d\d)$&quot;&gt;                                                                                           </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;answer&quot;/&gt;                                                                                                                            </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;set&quot; data=&quot;namefile=/tmp/${uuid}-name.wav&quot; inline=&quot;true&quot;/&gt;                                                                           </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;sleep&quot; data=&quot;1000&quot;/&gt;&gt;                                                                                                                </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;playback&quot; data=&quot;voicemail/vm-record_name1.wav&quot;/&gt;                                                                                     </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;playback&quot; data=&quot;tone_stream://%(1000,0,500)&quot;/&gt;                                                                                       </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;record&quot; data=&quot;${namefile} 1&quot;/&gt;                                                                                                       </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;playback&quot; data=&quot;ivr/ivr-call_being_transferred.wav&quot;/&gt;                                                                                </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;set&quot; data=&quot;res=${sched_api +1 none conference $1-${domain} play file_string://${namefile}!conference/conf-has_joined.wav}&quot;/&gt;         </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">      &lt;action application=&quot;transfer&quot; data=&quot;$1 XML default&quot;/&gt;                                                                                                    </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">    &lt;/condition&gt;                                                                                                                                                </font></div>
<div><font class="Apple-style-span" face="&#39;courier new&#39;, monospace">  &lt;/extension&gt; </font></div></div><div><br></div></div>