<div dir="ltr"><div><span style="font-size:12.8px">Jurijs,</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Thank you for your time, problem resolved! I also had to change the silence after the tone stream &quot;15000&quot; to &quot;1000&quot;. Here is the new XML for reference if anyone has this issue in the future.</span></div><div><span style="font-size:12.8px"><br></span></div><div><div><span style="font-size:12.8px">&lt;document type=&quot;text/freeswitch-httapi&quot;&gt;</span></div><div><span style="font-size:12.8px">&lt;work&gt;</span></div><div><span style="font-size:12.8px">&lt;speak name=&quot;speak&quot; loops=&quot;0&quot; engine=&quot;flite&quot; voice=&quot;kal&quot; text=&quot;Please leave a message after the beep.&quot; language=&quot;en&quot;&gt;&lt;/speak&gt;</span></div><div><span style="font-size:12.8px">&lt;execute application=&quot;playback&quot; data=&quot;tone_stream://%(100,1000,800);loops=0&quot;/&gt;</span></div><div><span style="font-size:12.8px">&lt;execute action=&quot;redacted&quot;</span></div><div><span style="font-size:12.8px">application=&quot;record&quot;</span></div><div><span style="font-size:12.8px">data=&quot;/usr/share/freeswitch/htdocs/recordings/rd5s4nqq-898958.wav 25 20&quot;</span></div><div><span style="font-size:12.8px">data=&quot;RECORD_STEREO=true&quot;</span></div><div><span style="font-size:12.8px">data=&quot;playback_terminators=*&quot;&gt;</span></div><div><span style="font-size:12.8px">&lt;/execute&gt;</span></div><div><span style="font-size:12.8px">&lt;/work&gt;</span></div><div><span style="font-size:12.8px">&lt;/document&gt;</span></div><div style="font-size:12.8px"><br></div></div><div><span style="font-size:12.8px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 3, 2016 at 12:44 AM, Jurijs Ivolga <span dir="ltr">&lt;<a href="mailto:jurijs.ivolga@gmail.com" target="_blank">jurijs.ivolga@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi,<br><br></div>You have loops=-1 what infinitely loops you tone, that why you need to press a button to terminate it:<br><br>&quot;Adds a repeating (loop) 800Hz tone with a duration of 100ms and a 15 second intervening silence to a session:&quot;<br><br></div>Check this link for more details:<br><br><a href="https://freeswitch.org/confluence/display/FREESWITCH/Tone_stream" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/Tone_stream</a><br><br></div>With kind regards,<br></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Wed, Aug 3, 2016 at 7:15 AM, Don Hawkins <span dir="ltr">&lt;<a href="mailto:hawkins@hawkinsegroup.com" target="_blank">hawkins@hawkinsegroup.com</a>&gt;</span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">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?<div><br></div><div><div>&lt;document type=&quot;text/freeswitch-httapi&quot;&gt;</div><div>&lt;work&gt;</div><div>&lt;speak name=&quot;speak&quot; loop=&quot;1&quot; engine=&quot;flite&quot; voice=&quot;kal&quot; text=&quot;Please leave a message after the beep.&quot; language=&quot;en&quot;&gt;&lt;/speak&gt;</div><div>&lt;execute application=&quot;playback&quot; data=&quot;tone_stream://%(100,15000,800);loops=-1&quot;/&gt;</div><div>&lt;execute action=&quot;redacted&quot;</div><div>application=&quot;record&quot;</div><div>data=&quot;/usr/share/freeswitch/htdocs/recordings/z0jnu8h6-898958.wav 25 20&quot;</div><div>data=&quot;RECORD_STEREO=true&quot;</div><div>data=&quot;playback_terminators=*&quot;&gt;</div><div>&lt;/execute&gt;</div><div>&lt;/work&gt;</div><div>&lt;/document&gt;</div></div><div><br></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(102,102,102)"><span>Sincerely,<br>Don Hawkins<br>CEO<br>Hawkins Enterprise Group LLC<br><a href="http://hawkinsegroup.com" target="_blank">http://hawkinsegroup.com</a><br><a href="http://zello.com" target="_blank">Zello PTT</a>: push2don<br></span></span></div><div><span style="color:rgb(102,102,102)"><span>P: 469-214-5044<br></span></span></div><div dir="ltr"><span style="color:rgb(102,102,102)"><span><a value="+12146991224"></a></span></span></div></div></div></div></div></div>
</div>