[Freeswitch-users] record and playback

Dragos Oancea dragos at freeswitch.org
Mon Jul 6 06:31:54 UTC 2020


<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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200706/670c3c7d/attachment.html>


More information about the FreeSWITCH-users mailing list