Hello, I am looking for a way to have a user record their name then press # when done. Afterwards have freeswitch play their name back to the user. Is there a sample script already in place for this? If not what would be the best module to use for this? Thanks,
<extension name="record_and_playback"> <condition field="destination_number" expression="^9595$"> <action application="answer"/> <action application="set" data="playback_terminators=#"/> <action application="record" data="/tmp/name-${uuid}.wav 20 200"/> <action application="playback" data="/tmp/name-${uuid}.wav"/> </condition> </extension> Add this to your dialplan, eg: top of default.xml, do "reloadxml" in fs_cli , and dial 9595. On Sat, Jul 4, 2020 at 5:33 PM Joli Martinez <mrjoli021@gmail.com> wrote:
Hello,
I am looking for a way to have a user record their name then press # when done. Afterwards have freeswitch play their name back to the user.
Is there a sample script already in place for this? If not what would be the best module to use for this?
Thanks, _________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (2)
-
Dragos Oancea
-
Joli Martinez