[Freeswitch-dev] Conference Call

Michael Collins msc at freeswitch.org
Fri Sep 9 21:55:27 MSD 2011


On Sun, Sep 4, 2011 at 11:30 AM, Iain Hale <Iain.Hale at 360crm.co.uk> wrote:

> Hello,****
>
> ** **
>
> 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.
>
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.
-MC

  <extension name="Record Name and schedule conf announce">


    <condition field="destination_number" expression="^55(3\d\d\d)$">


      <action application="answer"/>


      <action application="set" data="namefile=/tmp/${uuid}-name.wav"
inline="true"/>

      <action application="sleep" data="1000"/>>


      <action application="playback" data="voicemail/vm-record_name1.wav"/>


      <action application="playback" data="tone_stream://%(1000,0,500)"/>


      <action application="record" data="${namefile} 1"/>


      <action application="playback"
data="ivr/ivr-call_being_transferred.wav"/>

      <action application="set" data="res=${sched_api +1 none conference
$1-${domain} play
file_string://${namefile}!conference/conf-has_joined.wav}"/>
      <action application="transfer" data="$1 XML default"/>


    </condition>


  </extension>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20110909/d9b1feec/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list