Anthony,<br><br>I just tried to print the variable with the log app, with read it prints, with play_and_get_digits doesn't.<br><br>I'm using latest SVN rev:<br><br>FreeSWITCH Version 1.0.trunk (13012M)<br><br>Thanks,<br>
<br>Diego<br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:53 AM, Diego Viola <span dir="ltr"><<a href="mailto:diego.viola@gmail.com">diego.viola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I remember playAndGetDigits had a bug like this too.<br><br>Anthony, please help me.<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:42 AM, Diego Viola <span dir="ltr"><<a href="mailto:diego.viola@gmail.com" target="_blank">diego.viola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">It works if I use "read" and do this:<div><br><br><extension name="outbound2"><br>
<condition field="destination_number" expression="^(1888)$"><br></div> <action application="read" data="0 10 $${base_dir}/sounds/en/us/callie/conference/8000/conf-pin.wav res 10000 #"/><br>
<action application="transfer" data="${res} XML default"/><br> <!--<action application="log" data="CRIT ${foobar}"/>--><br> <!--<action application="socket" data="<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> async full"/>--><br>
</condition><br></extension><br><br>But I need play_and_get_digits to work like that too, please.<br><font color="#888888"><br>Diego</font><div><div></div><div><br><br><div class="gmail_quote">On Tue, Apr 14, 2009 at 1:36 AM, Diego Viola <span dir="ltr"><<a href="mailto:diego.viola@gmail.com" target="_blank">diego.viola@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi everyone,<br><br>I have a question... I have this on my dialplan:<br><br><extension name="outbound2"><br>
<condition field="destination_number" expression="^(1888)$"><br> <action application="play_and_get_digits" data="2 5 3 7000 # phrase:rac_demo /invalid.wav foobar \\d+"/><br>
<action application="transfer" data="${foobar} XML default"/><br> </condition><br></extension><br><br>What I want to do is play and read some digits and as soon as I get those digits, transfer to that extension... but this never happens, even if I terminate with a #.<br>
<br>I do the same thing with Lua and it works with Lua, but I need it to work with play_and_get_digits from mod_dptools, because I plan to use this with event socket outbound, with an application which I'm currently working on.<br>
<br>Any ideas?<br><br>Thanks,<br><font color="#888888"><br>Diego<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>