[Freeswitch-users] Recording with a beep please

Don Hawkins hawkins at hawkinsegroup.com
Wed Aug 3 08:15:48 MSD 2016


Using httapi, the code below plays the beep BUT will not begin the
recording until I press the terminator key, * in this case. How can I make
it start recording right away and have * terminate the recording?

<document type="text/freeswitch-httapi">
<work>
<speak name="speak" loop="1" engine="flite" voice="kal" text="Please leave
a message after the beep." language="en"></speak>
<execute application="playback"
data="tone_stream://%(100,15000,800);loops=-1"/>
<execute action="redacted"
application="record"
data="/usr/share/freeswitch/htdocs/recordings/z0jnu8h6-898958.wav 25 20"
data="RECORD_STEREO=true"
data="playback_terminators=*">
</execute>
</work>
</document>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160802/dbcdacd7/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list