Either that or have them hit the mute button and wait several seconds. Hopefully silence still works. :P You can even use sox to post-process and remove trailing silence from the recording.<br><br>-MC<br><br><div class="gmail_quote">
On Mon, Jul 30, 2012 at 4:26 PM, Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">
<div><div>It will just the funny application which will allow customers to record his changed voice which will sounds like Darth Vader for example:)  and to send to the destination number. It is easy but I can not create method for stop of recording from user side by means of DTMF because they is inband and &#39;soundtouch&#39; modifies dtmf as well.</div>
<div>Yep you are correct. &#39;tone_detect&#39; looks like nasty hackiness in this case but probably I will have to create this.</div></div><br><div><div></div><hr>Date: Mon, 30 Jul 2012 15:25:59 -0700<br>From: <a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a><br>
To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Subject: Re: [Freeswitch-users] soundtouch with playback_terminators +        inbound dtmf<br><br>Question: what is the application here? Are you modifying the user&#39;s voice? It sounds to me like you are stuck. I suppose you could run the audio of a DTMF key through sound touch and then open it in a spectrum analyzer to see what happens. If it&#39;s predictable then maybe you could detect the resulting tones with tone_detect, but that just reeks of nasty hackiness. A better solution would be a carrier who can deliver 2833 DTMFs.<br>

<br>-MC<br><br><div>On Mon, Jul 30, 2012 at 3:16 PM, Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">




<div><div dir="ltr">
<div>Unfortunately not. My inbound carrier can not do this.</div><div>May be I will able to detect &#39;#&#39; which was changed by &#39;soundtouch&#39; by means of &#39;tone_detect&#39;.</div><div><a href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect" target="_blank">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_tone_detect</a></div>

<div><span style="font-size:10pt">But not sure. This looks not good.</span></div><br><div><div></div><hr>Date: Mon, 30 Jul 2012 15:05:00 -0700<br>From: <a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</a><br>

To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>Subject: Re: [Freeswitch-users] soundtouch with playback_terminators +        inbound dtmf<br><br>Do you have a way to send DTMFs via 2833 or SIP INFO?<br>

-MC<br><br><div>On Mon, Jul 30, 2012 at 1:25 PM, Yuriy Nasida <span dir="ltr">&lt;<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>&gt;</span> wrote:<br>
<blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
<span><div><font color="#2a2a2a"><span style="line-height:17px">bribge + loopback doesn&#39;t work because I have to set  &lt;action application=&quot;set&quot; data=&quot;playback_terminators=#&quot;/&gt;  ON B-LEG which is affected by  soundtouch.</span></font></div>


<div><font color="#2a2a2a"><span style="line-height:17px">Hm... Any ideas ?</span></font></div></span><br><div><div></div><hr>From: <a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a><br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>


Date: Mon, 30 Jul 2012 23:38:34 +0400<div><div><br>Subject: Re: [Freeswitch-users] soundtouch with playback_terminators + inbound dtmf<br><br>


<div dir="ltr">
<div>Peter, yes I have &quot;start_dtmf&quot; and I can  detect DTMF. But! DTMF is not being recognised if I use &lt;action application=&quot;soundtouch&quot; data=&quot;0.7o 0.99t&quot;/&gt;</div><div>I think soundtouch module changes my dtmf tones (which is inband).</div>


<div>I start thinking about bribge + loopback. This way I will able to use soundtouch on b-leg only.</div><div><br></div><div>Thanks.</div><br><div><div></div>&gt; From: <a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a><br>


&gt; To: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>&gt; Date: Mon, 30 Jul 2012 19:23:09 +0000<br>&gt; Subject: Re: [Freeswitch-users] soundtouch with playback_terminators + inbound        dtmf<br>


&gt; <br>&gt; If it&#39;s inband you need to execute &quot;start_dtmf&quot; application first. Then it should detect DTMF&#39;s for you.<br>&gt; <br>&gt; /Peter<br>&gt; ________________________________<br>&gt; Från: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] för Yuriy Nasida [<a href="mailto:nasida@live.ru" target="_blank">nasida@live.ru</a>]<br>


&gt; Skickat: den 30 juli 2012 21:00<br>&gt; Till: <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>&gt; Ämne: [Freeswitch-users] soundtouch with playback_terminators + inbound dtmf<br>


&gt; <br>&gt; Hello guys,<br>&gt; <br>&gt; I change my voice via  &#39;soundtouch&#39; and I try to record this  via simple &#39;record&#39; command.<br>&gt; &lt;action application=&quot;set&quot; data=&quot;playback_terminators=#&quot;/&gt;<br>


&gt; &lt;action application=&quot;record&quot; data=&quot;/tmp/data.wav 20 200&quot;/&gt;<br>&gt; <br>&gt; I have to stop recording after &#39;#&#39; but can not make this because I must recieve DTMF inband.<br>&gt; I.e. &#39;soundtouch&#39; changes dtmf as well and FS doesn&#39;t recognise dtmf.<br>


&gt; How can I stop recording?<br>&gt; <br>&gt; Any ideas?<br>&gt; Thanks.<br>&gt; !DSPAM:5016d77b32761519715207!<br>&gt; <br>&gt; _________________________________________________________________________<br>&gt; Professional FreeSWITCH Consulting Services:<br>


&gt; <a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>&gt; <br>&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>


&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>&gt; <br>&gt; Official FreeSWITCH Sites<br>&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>


&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>&gt; <br>&gt; Join Us At ClueCon - Aug 7-9, 2012<br>&gt; <br>&gt; FreeSWITCH-users mailing list<br>&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>


&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>


&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></div>                                               </div>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></div>                                               </div></div>
<br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></font></span></div>                                               </div></div>
<br>_________________________________________________________________________<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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>
<br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

Join Us At ClueCon - Aug 7-9, 2012

FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></font></span></div>                                               </div></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" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<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" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>