[Freeswitch-dev] Conference Call
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. Thanks Iain Hale. Software Developer 360CRM Ltd 80 St Vincent Street Glasgow G2 5UB T:0141 433 0500 F:0141 433 0520 W:www.360crm.co.uk [cid:image001.png@01CC6B39.290800C0] Accredited ISO 27001 Information Security Management System ________________________________ 360CRM Limited, registered address, Caledonia House, 89 Seaward Street, Glasgow, G41 1HJ, Registered in Scotland, company number SC261952. This email and its attachments may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of 360CRM Ltd. This email does not form any part of a contract. If you are not the intended recipient of this email and its attachments, you must take no action based upon them, nor must you copy or show them to anyone. Please contact the sender if you believe you have received this email in error.
On 04/09/11 19:30, Iain Hale wrote:
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.
The conference module does not provide this functionality but it is not difficult to do by prompting the caller to record their name before connecting them to the conference, and then playing the recorded file to conference (or just the existing members) using "api conference foo play bar.wav" Regards,
On Sun, Sep 4, 2011 at 11:30 AM, Iain Hale <Iain.Hale@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>
participants (3)
-
Iain Hale
-
Michael Collins
-
Paul Cupis