<div dir="ltr">nevermind, my input binding was incorrect<div style>this binding will match any digits followed by #:</div><div style><bind strip="#">~\d+#</bind><br></div><div style><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Jun 22, 2013 at 9:27 PM, Rafal Gwizdala <span dir="ltr"><<a href="mailto:rafal.gwizdala@gmail.com" target="_blank">rafal.gwizdala@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi, could you give me some example of what's necessary to collect DTMF digits during audio file playback and how to return collected data to my web application? I'm sorry but even after reading FS 1.2 book I don't know how to do that. <div>
Here's my application's httapi script:</div><div><br></div><div><div><document type="text/freeswitch-httapi"></div><div> <work> </div><div><span style="white-space:pre-wrap">                </span><pause milliseconds="2000" /></div>
<div> <playback file="<a href="http://wypas2/simver/audio/test2.wav" target="_blank">http://wypas2/simver/audio/test2.wav</a>" name="digits"</div><div> digit-timeout="5" input-timeout="15" loops="3" terminators="#"> </div>
<div> <bind strip="#">~\\d{3}</bind ></div><div> </playback></div><div> </div><div> </work></div><div></document></div><div><br></div><div>but i don't see the collected digits anywhere in request parameters coming from FS. </div>
<div><br></div><div>Thanks</div><span class="HOEnZb"><font color="#888888"><div>RG</div></font></span></div></div>
</blockquote></div><br></div>